Class: Azure::Security::Mgmt::V2020_08_06_preview::Models::PackageDownloadInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_download_info.rb

Overview

Information on a specific package download

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

Returns Download link.

Returns:

  • (String)

    Download link



19
20
21
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_download_info.rb', line 19

def link
  @link
end

#versionString

Returns Version number.

Returns:

  • (String)

    Version number



16
17
18
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_download_info.rb', line 16

def version
  @version
end

#version_kindVersionKind

‘Latest’, ‘Previous’, ‘Preview’

Returns:

  • (VersionKind)

    Kind of the version. Possible values include:



23
24
25
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_download_info.rb', line 23

def version_kind
  @version_kind
end

Class Method Details

.mapperObject

Mapper for PackageDownloadInfo class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/package_download_info.rb', line 30

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