Class: Azure::Web::Mgmt::V2018_02_01::Models::DataSource
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2018_02_01::Models::DataSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/data_source.rb
Overview
Class representing data source used by the detectors
Instance Attribute Summary collapse
-
#data_source_uri ⇒ Array<NameValuePair>
Datasource Uri Links.
-
#instructions ⇒ Array<String>
Instrunctions if any for the data source.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DataSource class as Ruby Hash.
Instance Attribute Details
#data_source_uri ⇒ Array<NameValuePair>
Returns Datasource Uri Links.
19 20 21 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/data_source.rb', line 19 def data_source_uri @data_source_uri end |
#instructions ⇒ Array<String>
Returns Instrunctions if any for the data source.
16 17 18 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/data_source.rb', line 16 def instructions @instructions end |
Class Method Details
.mapper ⇒ Object
Mapper for DataSource class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/data_source.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DataSource', type: { name: 'Composite', class_name: 'DataSource', model_properties: { instructions: { client_side_validation: true, required: false, serialized_name: 'instructions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, data_source_uri: { client_side_validation: true, required: false, serialized_name: 'dataSourceUri', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NameValuePairElementType', type: { name: 'Composite', class_name: 'NameValuePair' } } } } } } } end |