Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::DynamicsSink

Inherits:
CopySink
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_sink.rb

Overview

A copy activity Dynamics sink.

Instance Attribute Summary collapse

Attributes inherited from CopySink

#additional_properties, #sink_retry_count, #sink_retry_wait, #write_batch_size, #write_batch_timeout

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDynamicsSink

Returns a new instance of DynamicsSink.



16
17
18
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_sink.rb', line 16

def initialize
  @type = "DynamicsSink"
end

Instance Attribute Details

#ignore_null_valuesObject

dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean).

Returns:

  • The flag indicating whether ignore null values from input



28
29
30
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_sink.rb', line 28

def ignore_null_values
  @ignore_null_values
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_sink.rb', line 20

def type
  @type
end

#write_behaviorObject

Returns The write behavior for the operation. Default value: Upsert .

Returns:

  • The write behavior for the operation. Default value: Upsert .



23
24
25
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_sink.rb', line 23

def write_behavior
  @write_behavior
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_sink.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DynamicsSink',
    type: {
      name: 'Composite',
      class_name: 'DynamicsSink',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        write_batch_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'writeBatchSize',
          type: {
            name: 'Object'
          }
        },
        write_batch_timeout: {
          client_side_validation: true,
          required: false,
          serialized_name: 'writeBatchTimeout',
          type: {
            name: 'Object'
          }
        },
        sink_retry_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sinkRetryCount',
          type: {
            name: 'Object'
          }
        },
        sink_retry_wait: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sinkRetryWait',
          type: {
            name: 'Object'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        write_behavior: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'writeBehavior',
          default_value: Upsert,
          type: {
            name: 'Object'
          }
        },
        ignore_null_values: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ignoreNullValues',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end