Class: Azure::ARM::DevTestLabs::Models::Artifact

Inherits:
MsRestAzure::Resource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_devtestlabs/models/artifact.rb

Overview

An artifact.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#created_dateDateTime

Returns The artifact’s creation date.

Returns:

  • (DateTime)

    The artifact’s creation date.



38
39
40
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 38

def created_date
  @created_date
end

#descriptionString

Returns The artifact’s description.

Returns:

  • (String)

    The artifact’s description.



20
21
22
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 20

def description
  @description
end

#file_pathString

Returns The file path to the artifact.

Returns:

  • (String)

    The file path to the artifact.



26
27
28
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 26

def file_path
  @file_path
end

#iconString

Returns The URI to the artifact icon.

Returns:

  • (String)

    The URI to the artifact icon.



29
30
31
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 29

def icon
  @icon
end

#parametersObject

Returns The artifact’s parameters.

Returns:

  • The artifact’s parameters.



35
36
37
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 35

def parameters
  @parameters
end

#publisherString

Returns The artifact’s publisher.

Returns:

  • (String)

    The artifact’s publisher.



23
24
25
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 23

def publisher
  @publisher
end

#target_os_typeString

Returns The artifact’s target OS.

Returns:

  • (String)

    The artifact’s target OS.



32
33
34
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 32

def target_os_type
  @target_os_type
end

#titleString

Returns The artifact’s title.

Returns:

  • (String)

    The artifact’s title.



17
18
19
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 17

def title
  @title
end

Class Method Details

.mapperObject

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



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 45

def self.mapper()
  {
    required: false,
    serialized_name: 'Artifact',
    type: {
      name: 'Composite',
      class_name: 'Artifact',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        title: {
          required: false,
          read_only: true,
          serialized_name: 'properties.title',
          type: {
            name: 'String'
          }
        },
        description: {
          required: false,
          read_only: true,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        publisher: {
          required: false,
          read_only: true,
          serialized_name: 'properties.publisher',
          type: {
            name: 'String'
          }
        },
        file_path: {
          required: false,
          read_only: true,
          serialized_name: 'properties.filePath',
          type: {
            name: 'String'
          }
        },
        icon: {
          required: false,
          read_only: true,
          serialized_name: 'properties.icon',
          type: {
            name: 'String'
          }
        },
        target_os_type: {
          required: false,
          read_only: true,
          serialized_name: 'properties.targetOsType',
          type: {
            name: 'String'
          }
        },
        parameters: {
          required: false,
          read_only: true,
          serialized_name: 'properties.parameters',
          type: {
            name: 'Object'
          }
        },
        created_date: {
          required: false,
          read_only: true,
          serialized_name: 'properties.createdDate',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end