# 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::Security::Mgmt::V2020_08_06_preview
  module Models
    #
    # Information on a specific package download
    #
    class PackageDownloadInfo

      include MsRestAzure

      # @return [String] Version number
      attr_accessor :version

      # @return [String] Download link
      attr_accessor :link

      # @return [VersionKind] Kind of the version. Possible values include:
      # 'Latest', 'Previous', 'Preview'
      attr_accessor :version_kind


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