/usr/lib/ruby/vendor_ruby/generated/azure_mgmt_machine_learning/models/asset_item.rb is in ruby-azure-mgmt-machine-learning 0.8.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 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 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 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ARM::MachineLearning
module Models
#
# Information about an asset associated with the web service.
#
class AssetItem
include MsRestAzure
# @return [String] Asset's friendly name.
attr_accessor :name
# @return [String] Asset's Id.
attr_accessor :id
# @return [AssetType] Asset's type. Possible values include: 'Module',
# 'Resource'
attr_accessor :type
# @return [AssetLocation] Access information for the asset.
attr_accessor :location_info
# @return [Hash{String => InputPort}] Information about the asset's input
# ports.
attr_accessor :input_ports
# @return [Hash{String => OutputPort}] Information about the asset's
# output ports.
attr_accessor :output_ports
# @return [Hash{String => String}] If the asset is a custom module, this
# holds the module's metadata.
attr_accessor :metadata
# @return [Array<ModuleAssetParameter>] If the asset is a custom module,
# this holds the module's parameters.
attr_accessor :parameters
#
# Mapper for AssetItem class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'AssetItem',
type: {
name: 'Composite',
class_name: 'AssetItem',
model_properties: {
name: {
required: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
id: {
required: false,
serialized_name: 'id',
type: {
name: 'String'
}
},
type: {
required: true,
serialized_name: 'type',
type: {
name: 'String'
}
},
location_info: {
required: true,
serialized_name: 'locationInfo',
type: {
name: 'Composite',
class_name: 'AssetLocation'
}
},
input_ports: {
required: false,
serialized_name: 'inputPorts',
type: {
name: 'Dictionary',
value: {
required: false,
serialized_name: 'InputPortElementType',
type: {
name: 'Composite',
class_name: 'InputPort'
}
}
}
},
output_ports: {
required: false,
serialized_name: 'outputPorts',
type: {
name: 'Dictionary',
value: {
required: false,
serialized_name: 'OutputPortElementType',
type: {
name: 'Composite',
class_name: 'OutputPort'
}
}
}
},
metadata: {
required: false,
serialized_name: 'metadata',
type: {
name: 'Dictionary',
value: {
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
parameters: {
required: false,
serialized_name: 'parameters',
type: {
name: 'Sequence',
element: {
required: false,
serialized_name: 'ModuleAssetParameterElementType',
type: {
name: 'Composite',
class_name: 'ModuleAssetParameter'
}
}
}
}
}
}
}
end
end
end
end
|