module Azure::VMwareCloudSimple::Mgmt::V2019_04_01
  module Models
    #
    # Virtual disk controller model
    #
    class VirtualDiskController

      include MsRestAzure

      # @return [String] Controller's id
      attr_accessor :id

      # @return [String] The display name of Controller
      attr_accessor :name

      # @return [String] dik controller subtype (VMWARE_PARAVIRTUAL,
      # BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
      attr_accessor :sub_type

      # @return [String] disk controller type (SCSI)
      attr_accessor :type


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