Skip to content

Commit

Permalink
Generated from 5cc2c54ac1ba7f41fd2426ff39df46f785ce55f2 (#5748)
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 8647a93 commit 54e1549
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions services/datafactory/mgmt/2018-06-01/datafactory/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
}
Expand Down Expand Up @@ -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{}
Expand Down Expand Up @@ -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.
Expand All @@ -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
}
Expand Down Expand Up @@ -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{}
Expand Down Expand Up @@ -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.
Expand All @@ -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
}
Expand Down Expand Up @@ -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{}
Expand Down

0 comments on commit 54e1549

Please sign in to comment.