Class: Azure::ARM::DevTestLabs::Models::Artifact
- Inherits:
-
MsRestAzure::Resource
- Object
- MsRestAzure::Resource
- Azure::ARM::DevTestLabs::Models::Artifact
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_devtestlabs/models/artifact.rb
Overview
An artifact.
Instance Attribute Summary collapse
-
#created_date ⇒ DateTime
The artifact’s creation date.
-
#description ⇒ String
The artifact’s description.
-
#file_path ⇒ String
The file path to the artifact.
-
#icon ⇒ String
The URI to the artifact icon.
-
#parameters ⇒ Object
The artifact’s parameters.
-
#publisher ⇒ String
The artifact’s publisher.
-
#target_os_type ⇒ String
The artifact’s target OS.
-
#title ⇒ String
The artifact’s title.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Artifact class as Ruby Hash.
Instance Attribute Details
#created_date ⇒ DateTime
Returns 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 |
#description ⇒ String
Returns The artifact’s description.
20 21 22 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 20 def description @description end |
#file_path ⇒ String
Returns 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 |
#icon ⇒ String
Returns The URI to the artifact icon.
29 30 31 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 29 def icon @icon end |
#parameters ⇒ Object
Returns The artifact’s parameters.
35 36 37 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 35 def parameters @parameters end |
#publisher ⇒ String
Returns The artifact’s publisher.
23 24 25 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/artifact.rb', line 23 def publisher @publisher end |
#target_os_type ⇒ String
Returns 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 |
#title ⇒ String
Returns 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
.mapper ⇒ Object
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 |