Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingAvailability

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

Overview

Connector mapping property availability.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#frequencyFrequencyTypes

include: ‘Minute’, ‘Hour’, ‘Day’, ‘Week’, ‘Month’

Returns:



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

def frequency
  @frequency
end

#intervalInteger

Returns The interval of the given frequency to use.

Returns:

  • (Integer)

    The interval of the given frequency to use.



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

def interval
  @interval
end

Class Method Details

.mapperObject

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



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
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/connector_mapping_availability.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectorMappingAvailability',
    type: {
      name: 'Composite',
      class_name: 'ConnectorMappingAvailability',
      model_properties: {
        frequency: {
          client_side_validation: true,
          required: false,
          serialized_name: 'frequency',
          type: {
            name: 'Enum',
            module: 'FrequencyTypes'
          }
        },
        interval: {
          client_side_validation: true,
          required: true,
          serialized_name: 'interval',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end