Skip to content

Commit

Permalink
Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#7202)
Browse files Browse the repository at this point in the history
Add a clearer description.
  • Loading branch information
AutorestCI authored Sep 11, 2019
1 parent fc42f2c commit 4d69c50
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6923,6 +6923,10 @@ class CommonDataServiceForAppsSink(CopySink):
values from input dataset (except key fields) during write operation.
Default is false. Type: boolean (or Expression with resultType boolean).
:type ignore_null_values: object
:param alternate_key_name: The logical name of the alternate key which
will be used when upserting records. Type: string (or Expression with
resultType string).
:type alternate_key_name: object
"""

_validation = {
Expand All @@ -6940,13 +6944,15 @@ class CommonDataServiceForAppsSink(CopySink):
'type': {'key': 'type', 'type': 'str'},
'write_behavior': {'key': 'writeBehavior', 'type': 'str'},
'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'},
'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'},
}

write_behavior = "Upsert"

def __init__(self, **kwargs):
super(CommonDataServiceForAppsSink, self).__init__(**kwargs)
self.ignore_null_values = kwargs.get('ignore_null_values', None)
self.alternate_key_name = kwargs.get('alternate_key_name', None)
self.type = 'CommonDataServiceForAppsSink'


Expand Down Expand Up @@ -9965,6 +9971,10 @@ class DynamicsCrmSink(CopySink):
values from input dataset (except key fields) during write operation.
Default is false. Type: boolean (or Expression with resultType boolean).
:type ignore_null_values: object
:param alternate_key_name: The logical name of the alternate key which
will be used when upserting records. Type: string (or Expression with
resultType string).
:type alternate_key_name: object
"""

_validation = {
Expand All @@ -9982,13 +9992,15 @@ class DynamicsCrmSink(CopySink):
'type': {'key': 'type', 'type': 'str'},
'write_behavior': {'key': 'writeBehavior', 'type': 'str'},
'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'},
'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'},
}

write_behavior = "Upsert"

def __init__(self, **kwargs):
super(DynamicsCrmSink, self).__init__(**kwargs)
self.ignore_null_values = kwargs.get('ignore_null_values', None)
self.alternate_key_name = kwargs.get('alternate_key_name', None)
self.type = 'DynamicsCrmSink'


Expand Down Expand Up @@ -10233,6 +10245,10 @@ class DynamicsSink(CopySink):
from input dataset (except key fields) during write operation. Default is
false. Type: boolean (or Expression with resultType boolean).
:type ignore_null_values: object
:param alternate_key_name: The logical name of the alternate key which
will be used when upserting records. Type: string (or Expression with
resultType string).
:type alternate_key_name: object
"""

_validation = {
Expand All @@ -10250,13 +10266,15 @@ class DynamicsSink(CopySink):
'type': {'key': 'type', 'type': 'str'},
'write_behavior': {'key': 'writeBehavior', 'type': 'str'},
'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'},
'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'},
}

write_behavior = "Upsert"

def __init__(self, **kwargs):
super(DynamicsSink, self).__init__(**kwargs)
self.ignore_null_values = kwargs.get('ignore_null_values', None)
self.alternate_key_name = kwargs.get('alternate_key_name', None)
self.type = 'DynamicsSink'


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6923,6 +6923,10 @@ class CommonDataServiceForAppsSink(CopySink):
values from input dataset (except key fields) during write operation.
Default is false. Type: boolean (or Expression with resultType boolean).
:type ignore_null_values: object
:param alternate_key_name: The logical name of the alternate key which
will be used when upserting records. Type: string (or Expression with
resultType string).
:type alternate_key_name: object
"""

_validation = {
Expand All @@ -6940,13 +6944,15 @@ class CommonDataServiceForAppsSink(CopySink):
'type': {'key': 'type', 'type': 'str'},
'write_behavior': {'key': 'writeBehavior', 'type': 'str'},
'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'},
'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'},
}

write_behavior = "Upsert"

def __init__(self, *, additional_properties=None, write_batch_size=None, write_batch_timeout=None, sink_retry_count=None, sink_retry_wait=None, max_concurrent_connections=None, ignore_null_values=None, **kwargs) -> None:
def __init__(self, *, additional_properties=None, write_batch_size=None, write_batch_timeout=None, sink_retry_count=None, sink_retry_wait=None, max_concurrent_connections=None, ignore_null_values=None, alternate_key_name=None, **kwargs) -> None:
super(CommonDataServiceForAppsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs)
self.ignore_null_values = ignore_null_values
self.alternate_key_name = alternate_key_name
self.type = 'CommonDataServiceForAppsSink'


Expand Down Expand Up @@ -9965,6 +9971,10 @@ class DynamicsCrmSink(CopySink):
values from input dataset (except key fields) during write operation.
Default is false. Type: boolean (or Expression with resultType boolean).
:type ignore_null_values: object
:param alternate_key_name: The logical name of the alternate key which
will be used when upserting records. Type: string (or Expression with
resultType string).
:type alternate_key_name: object
"""

_validation = {
Expand All @@ -9982,13 +9992,15 @@ class DynamicsCrmSink(CopySink):
'type': {'key': 'type', 'type': 'str'},
'write_behavior': {'key': 'writeBehavior', 'type': 'str'},
'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'},
'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'},
}

write_behavior = "Upsert"

def __init__(self, *, additional_properties=None, write_batch_size=None, write_batch_timeout=None, sink_retry_count=None, sink_retry_wait=None, max_concurrent_connections=None, ignore_null_values=None, **kwargs) -> None:
def __init__(self, *, additional_properties=None, write_batch_size=None, write_batch_timeout=None, sink_retry_count=None, sink_retry_wait=None, max_concurrent_connections=None, ignore_null_values=None, alternate_key_name=None, **kwargs) -> None:
super(DynamicsCrmSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs)
self.ignore_null_values = ignore_null_values
self.alternate_key_name = alternate_key_name
self.type = 'DynamicsCrmSink'


Expand Down Expand Up @@ -10233,6 +10245,10 @@ class DynamicsSink(CopySink):
from input dataset (except key fields) during write operation. Default is
false. Type: boolean (or Expression with resultType boolean).
:type ignore_null_values: object
:param alternate_key_name: The logical name of the alternate key which
will be used when upserting records. Type: string (or Expression with
resultType string).
:type alternate_key_name: object
"""

_validation = {
Expand All @@ -10250,13 +10266,15 @@ class DynamicsSink(CopySink):
'type': {'key': 'type', 'type': 'str'},
'write_behavior': {'key': 'writeBehavior', 'type': 'str'},
'ignore_null_values': {'key': 'ignoreNullValues', 'type': 'object'},
'alternate_key_name': {'key': 'alternateKeyName', 'type': 'object'},
}

write_behavior = "Upsert"

def __init__(self, *, additional_properties=None, write_batch_size=None, write_batch_timeout=None, sink_retry_count=None, sink_retry_wait=None, max_concurrent_connections=None, ignore_null_values=None, **kwargs) -> None:
def __init__(self, *, additional_properties=None, write_batch_size=None, write_batch_timeout=None, sink_retry_count=None, sink_retry_wait=None, max_concurrent_connections=None, ignore_null_values=None, alternate_key_name=None, **kwargs) -> None:
super(DynamicsSink, self).__init__(additional_properties=additional_properties, write_batch_size=write_batch_size, write_batch_timeout=write_batch_timeout, sink_retry_count=sink_retry_count, sink_retry_wait=sink_retry_wait, max_concurrent_connections=max_concurrent_connections, **kwargs)
self.ignore_null_values = ignore_null_values
self.alternate_key_name = alternate_key_name
self.type = 'DynamicsSink'


Expand Down

0 comments on commit 4d69c50

Please sign in to comment.