Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat

Inherits:
ProxyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb

Overview

The connector resource format.

Instance Attribute Summary collapse

Attributes inherited from ProxyResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#connector_idInteger

Returns ID of the connector.

Returns:

  • (Integer)

    ID of the connector.



16
17
18
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 16

def connector_id
  @connector_id
end

#connector_nameString

Returns Name of the connector.

Returns:

  • (String)

    Name of the connector.



19
20
21
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 19

def connector_name
  @connector_name
end

#connector_propertiesObject

Returns The connector properties.

Returns:

  • The connector properties.



32
33
34
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 32

def connector_properties
  @connector_properties
end

#connector_typeConnectorTypes

‘None’, ‘CRM’, ‘AzureBlob’, ‘Salesforce’, ‘ExchangeOnline’, ‘Outbound’

Returns:



23
24
25
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 23

def connector_type
  @connector_type
end

#createdDateTime

Returns The created time.

Returns:

  • (DateTime)

    The created time.



35
36
37
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 35

def created
  @created
end

#descriptionString

Returns Description of the connector.

Returns:

  • (String)

    Description of the connector.



29
30
31
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 29

def description
  @description
end

#display_nameString

Returns Display name of the connector.

Returns:

  • (String)

    Display name of the connector.



26
27
28
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 26

def display_name
  @display_name
end

#is_internalBoolean

Returns If this is an internal connector.

Returns:

  • (Boolean)

    If this is an internal connector.



48
49
50
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 48

def is_internal
  @is_internal
end

#last_modifiedDateTime

Returns The last monified time.

Returns:

  • (DateTime)

    The last monified time.



38
39
40
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 38

def last_modified
  @last_modified
end

#stateConnectorStates

‘Creating’, ‘Created’, ‘Ready’, ‘Expiring’, ‘Deleting’, ‘Failed’

Returns:



42
43
44
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 42

def state
  @state
end

#tenant_idString

Returns The hub name.

Returns:

  • (String)

    The hub name.



45
46
47
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 45

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

Mapper for ConnectorResourceFormat class as Ruby Hash. This will be used for serialization/deserialization.



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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb', line 55

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectorResourceFormat',
    type: {
      name: 'Composite',
      class_name: 'ConnectorResourceFormat',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        connector_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.connectorId',
          type: {
            name: 'Number'
          }
        },
        connector_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.connectorName',
          type: {
            name: 'String'
          }
        },
        connector_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.connectorType',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        connector_properties: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.connectorProperties',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.created',
          type: {
            name: 'DateTime'
          }
        },
        last_modified: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModified',
          type: {
            name: 'DateTime'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.state',
          type: {
            name: 'Enum',
            module: 'ConnectorStates'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        is_internal: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isInternal',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end