# 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::StorSimple8000Series::Mgmt::V2017_06_01
  module Models
    #
    # Details related to the IPv6 address configuration.
    #
    class NicIPv6

      include MsRestAzure

      # @return [String] The IPv6 address of the network adapter.
      attr_accessor :ipv6address

      # @return [String] The IPv6 prefix of the network adapter.
      attr_accessor :ipv6prefix

      # @return [String] The IPv6 gateway of the network adapter.
      attr_accessor :ipv6gateway

      # @return [String] The IPv6 address of Controller0.
      attr_accessor :controller0ipv6address

      # @return [String] The IPv6 address of Controller1.
      attr_accessor :controller1ipv6address


      #
      # Mapper for NicIPv6 class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'NicIPv6',
          type: {
            name: 'Composite',
            class_name: 'NicIPv6',
            model_properties: {
              ipv6address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ipv6Address',
                type: {
                  name: 'String'
                }
              },
              ipv6prefix: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ipv6Prefix',
                type: {
                  name: 'String'
                }
              },
              ipv6gateway: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ipv6Gateway',
                type: {
                  name: 'String'
                }
              },
              controller0ipv6address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'controller0Ipv6Address',
                type: {
                  name: 'String'
                }
              },
              controller1ipv6address: {
                client_side_validation: true,
                required: false,
                serialized_name: 'controller1Ipv6Address',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
