Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::DataSourcePrecedence

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#data_source_reference_idString

Returns The data source reference id.

Returns:

  • (String)

    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_typeDataSourceType

‘Connector’, ‘LinkInteraction’, ‘SystemDefault’

Returns:



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

#idInteger

Returns The data source ID.

Returns:

  • (Integer)

    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

#nameString

Returns The data source name.

Returns:

  • (String)

    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

#precedenceInteger

Returns the precedence value.

Returns:

  • (Integer)

    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

#statusStatus

‘None’, ‘Active’, ‘Deleted’

Returns:

  • (Status)

    The data source status. Possible values include:



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

.mapperObject

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