From 54e1549d0ac51c9306d359c74a3d91438a0f512c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 11 Sep 2019 00:53:25 -0700 Subject: [PATCH] Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748) Add a clearer description. --- .../mgmt/2018-06-01/datafactory/models.go | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index 2cc906143379..8b44976da117 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -47168,6 +47168,8 @@ type CommonDataServiceForAppsSink struct { WriteBehavior *string `json:"writeBehavior,omitempty"` // IgnoreNullValues - The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` + // AlternateKeyName - The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). + AlternateKeyName interface{} `json:"alternateKeyName,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. @@ -47194,6 +47196,9 @@ func (cdsfas CommonDataServiceForAppsSink) MarshalJSON() ([]byte, error) { if cdsfas.IgnoreNullValues != nil { objectMap["ignoreNullValues"] = cdsfas.IgnoreNullValues } + if cdsfas.AlternateKeyName != nil { + objectMap["alternateKeyName"] = cdsfas.AlternateKeyName + } if cdsfas.WriteBatchSize != nil { objectMap["writeBatchSize"] = cdsfas.WriteBatchSize } @@ -47420,6 +47425,15 @@ func (cdsfas *CommonDataServiceForAppsSink) UnmarshalJSON(body []byte) error { } cdsfas.IgnoreNullValues = ignoreNullValues } + case "alternateKeyName": + if v != nil { + var alternateKeyName interface{} + err = json.Unmarshal(*v, &alternateKeyName) + if err != nil { + return err + } + cdsfas.AlternateKeyName = alternateKeyName + } default: if v != nil { var additionalProperties interface{} @@ -72523,6 +72537,8 @@ type DynamicsCrmSink struct { WriteBehavior *string `json:"writeBehavior,omitempty"` // IgnoreNullValues - The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` + // AlternateKeyName - The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). + AlternateKeyName interface{} `json:"alternateKeyName,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. @@ -72549,6 +72565,9 @@ func (dcs DynamicsCrmSink) MarshalJSON() ([]byte, error) { if dcs.IgnoreNullValues != nil { objectMap["ignoreNullValues"] = dcs.IgnoreNullValues } + if dcs.AlternateKeyName != nil { + objectMap["alternateKeyName"] = dcs.AlternateKeyName + } if dcs.WriteBatchSize != nil { objectMap["writeBatchSize"] = dcs.WriteBatchSize } @@ -72775,6 +72794,15 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { } dcs.IgnoreNullValues = ignoreNullValues } + case "alternateKeyName": + if v != nil { + var alternateKeyName interface{} + err = json.Unmarshal(*v, &alternateKeyName) + if err != nil { + return err + } + dcs.AlternateKeyName = alternateKeyName + } default: if v != nil { var additionalProperties interface{} @@ -74725,6 +74753,8 @@ type DynamicsSink struct { WriteBehavior *string `json:"writeBehavior,omitempty"` // IgnoreNullValues - The flag indicating whether ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean). IgnoreNullValues interface{} `json:"ignoreNullValues,omitempty"` + // AlternateKeyName - The logical name of the alternate key which will be used when upserting records. Type: string (or Expression with resultType string). + AlternateKeyName interface{} `json:"alternateKeyName,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // WriteBatchSize - Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. @@ -74751,6 +74781,9 @@ func (ds DynamicsSink) MarshalJSON() ([]byte, error) { if ds.IgnoreNullValues != nil { objectMap["ignoreNullValues"] = ds.IgnoreNullValues } + if ds.AlternateKeyName != nil { + objectMap["alternateKeyName"] = ds.AlternateKeyName + } if ds.WriteBatchSize != nil { objectMap["writeBatchSize"] = ds.WriteBatchSize } @@ -74977,6 +75010,15 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error { } ds.IgnoreNullValues = ignoreNullValues } + case "alternateKeyName": + if v != nil { + var alternateKeyName interface{} + err = json.Unmarshal(*v, &alternateKeyName) + if err != nil { + return err + } + ds.AlternateKeyName = alternateKeyName + } default: if v != nil { var additionalProperties interface{}