Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::DataSourcePrecedence
- Inherits:
-
Object
- Object
- Azure::CustomerInsights::Mgmt::V2017_01_01::Models::DataSourcePrecedence
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb
Overview
The data source precedence is a way to know the precedence of each data source.
Instance Attribute Summary collapse
-
#data_source_reference_id ⇒ String
The data source reference id.
-
#data_source_type ⇒ DataSourceType
‘Connector’, ‘LinkInteraction’, ‘SystemDefault’.
-
#id ⇒ Integer
The data source ID.
-
#name ⇒ String
The data source name.
-
#precedence ⇒ Integer
The precedence value.
-
#status ⇒ Status
‘None’, ‘Active’, ‘Deleted’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DataSourcePrecedence class as Ruby Hash.
Instance Attribute Details
#data_source_reference_id ⇒ String
Returns The data source reference id.
31 32 33 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb', line 31 def data_source_reference_id @data_source_reference_id end |
#data_source_type ⇒ DataSourceType
‘Connector’, ‘LinkInteraction’, ‘SystemDefault’
21 22 23 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb', line 21 def data_source_type @data_source_type end |
#id ⇒ Integer
Returns The data source ID.
28 29 30 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb', line 28 def id @id end |
#name ⇒ String
Returns The data source name.
17 18 19 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb', line 17 def name @name end |
#precedence ⇒ Integer
Returns the precedence value.
34 35 36 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb', line 34 def precedence @precedence end |
#status ⇒ Status
‘None’, ‘Active’, ‘Deleted’
25 26 27 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb', line 25 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for DataSourcePrecedence class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DataSourcePrecedence', type: { name: 'Composite', class_name: 'DataSourcePrecedence', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'dataSource.name', type: { name: 'String' } }, data_source_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'dataSource.dataSourceType', type: { name: 'String' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'dataSource.status', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'dataSource.id', type: { name: 'Number' } }, data_source_reference_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'dataSource.dataSourceReferenceId', type: { name: 'String' } }, precedence: { client_side_validation: true, required: false, serialized_name: 'precedence', type: { name: 'Number' } } } } } end |