Sha256: 6149bf10dc75e4ab57a640d9ddd2f817cb4be7ed7c27ed4be66cf79092fd7a05

Contents?: true

Size: 1.86 KB

Versions: 1

Compression:

Stored size: 1.86 KB

Contents

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_download_info.rb