# 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::StorageCache::Mgmt::V2020_10_01
  module Models
    #
    # An NFSv3 mount point for use as a Storage Target.
    #
    class Nfs3TargetProperties < StorageTargetProperties

      include MsRestAzure


      def initialize
        @targetType = "nfs3"
      end

      attr_accessor :targetType


      #
      # Mapper for Nfs3TargetProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'nfs3',
          type: {
            name: 'Composite',
            class_name: 'Nfs3TargetProperties',
            model_properties: {
              junctions: {
                client_side_validation: true,
                required: false,
                serialized_name: 'junctions',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'NamespaceJunctionElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'NamespaceJunction'
                      }
                  }
                }
              },
              provisioning_state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'provisioningState',
                type: {
                  name: 'String'
                }
              },
              nfs3: {
                client_side_validation: true,
                required: false,
                serialized_name: 'nfs3',
                type: {
                  name: 'Composite',
                  class_name: 'Nfs3Target'
                }
              },
              clfs: {
                client_side_validation: true,
                required: false,
                serialized_name: 'clfs',
                type: {
                  name: 'Composite',
                  class_name: 'ClfsTarget'
                }
              },
              unknown: {
                client_side_validation: true,
                required: false,
                serialized_name: 'unknown',
                type: {
                  name: 'Composite',
                  class_name: 'UnknownTarget'
                }
              },
              targetType: {
                client_side_validation: true,
                required: true,
                serialized_name: 'targetType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
