Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK: regenerating from 3c6805d1c940542101be511129b87138d973eff7 #380

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions sdk/datafactory/2018-06-01/datafactory/enums.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 38 additions & 16 deletions sdk/datafactory/2018-06-01/datafactory/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -236314,6 +236314,8 @@ func (sscvls *SalesforceServiceCloudV2LinkedService) UnmarshalJSON(body []byte)
type SalesforceServiceCloudV2LinkedServiceTypeProperties struct {
// EnvironmentURL - The URL of Salesforce Service Cloud instance. For example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string).
EnvironmentURL interface{} `json:"environmentUrl,omitempty"`
// AuthenticationType - The authentication type to be used to connect to the Salesforce. Currently, we only support OAuth2ClientCredentials, it is also the default value
AuthenticationType interface{} `json:"authenticationType,omitempty"`
// ClientID - The client Id for OAuth 2.0 Client Credentials Flow authentication of the Salesforce instance. Type: string (or Expression with resultType string).
ClientID interface{} `json:"clientId,omitempty"`
// ClientSecret - The client secret for OAuth 2.0 Client Credentials Flow authentication of the Salesforce instance.
Expand Down Expand Up @@ -236342,6 +236344,15 @@ func (sscvlstp *SalesforceServiceCloudV2LinkedServiceTypeProperties) UnmarshalJS
}
sscvlstp.EnvironmentURL = environmentURL
}
case "authenticationType":
if v != nil {
var authenticationType interface{}
err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
sscvlstp.AuthenticationType = authenticationType
}
case "clientId":
if v != nil {
var clientID interface{}
Expand Down Expand Up @@ -237493,8 +237504,8 @@ func (sscvs *SalesforceServiceCloudV2Sink) UnmarshalJSON(body []byte) error {
type SalesforceServiceCloudV2Source struct {
// SOQLQuery - Database query. Type: string (or Expression with resultType string).
SOQLQuery interface{} `json:"SOQLQuery,omitempty"`
// ReadBehavior - The read behavior for the operation. Default is query. Allowed values: query/queryAll. Type: string (or Expression with resultType string).
ReadBehavior interface{} `json:"readBehavior,omitempty"`
// IncludeDeletedObjects - This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean).
IncludeDeletedObjects interface{} `json:"includeDeletedObjects,omitempty"`
// AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
AdditionalColumns interface{} `json:"additionalColumns,omitempty"`
// AdditionalProperties - Unmatched properties from the message are deserialized this collection
Expand All @@ -237518,8 +237529,8 @@ func (sscvs SalesforceServiceCloudV2Source) MarshalJSON() ([]byte, error) {
if sscvs.SOQLQuery != nil {
objectMap["SOQLQuery"] = sscvs.SOQLQuery
}
if sscvs.ReadBehavior != nil {
objectMap["readBehavior"] = sscvs.ReadBehavior
if sscvs.IncludeDeletedObjects != nil {
objectMap["includeDeletedObjects"] = sscvs.IncludeDeletedObjects
}
if sscvs.AdditionalColumns != nil {
objectMap["additionalColumns"] = sscvs.AdditionalColumns
Expand Down Expand Up @@ -238083,14 +238094,14 @@ func (sscvs *SalesforceServiceCloudV2Source) UnmarshalJSON(body []byte) error {
}
sscvs.SOQLQuery = sOQLQuery
}
case "readBehavior":
case "includeDeletedObjects":
if v != nil {
var readBehavior interface{}
err = json.Unmarshal(*v, &readBehavior)
var includeDeletedObjects interface{}
err = json.Unmarshal(*v, &includeDeletedObjects)
if err != nil {
return err
}
sscvs.ReadBehavior = readBehavior
sscvs.IncludeDeletedObjects = includeDeletedObjects
}
case "additionalColumns":
if v != nil {
Expand Down Expand Up @@ -239997,6 +240008,8 @@ func (svls *SalesforceV2LinkedService) UnmarshalJSON(body []byte) error {
type SalesforceV2LinkedServiceTypeProperties struct {
// EnvironmentURL - The URL of Salesforce instance. For example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string).
EnvironmentURL interface{} `json:"environmentUrl,omitempty"`
// AuthenticationType - The authentication type to be used to connect to the Salesforce. Currently, we only support OAuth2ClientCredentials, it is also the default value
AuthenticationType interface{} `json:"authenticationType,omitempty"`
// ClientID - The client Id for OAuth 2.0 Client Credentials Flow authentication of the Salesforce instance. Type: string (or Expression with resultType string).
ClientID interface{} `json:"clientId,omitempty"`
// ClientSecret - The client secret for OAuth 2.0 Client Credentials Flow authentication of the Salesforce instance.
Expand Down Expand Up @@ -240025,6 +240038,15 @@ func (svlstp *SalesforceV2LinkedServiceTypeProperties) UnmarshalJSON(body []byte
}
svlstp.EnvironmentURL = environmentURL
}
case "authenticationType":
if v != nil {
var authenticationType interface{}
err = json.Unmarshal(*v, &authenticationType)
if err != nil {
return err
}
svlstp.AuthenticationType = authenticationType
}
case "clientId":
if v != nil {
var clientID interface{}
Expand Down Expand Up @@ -241175,8 +241197,8 @@ func (svs *SalesforceV2Sink) UnmarshalJSON(body []byte) error {
type SalesforceV2Source struct {
// SOQLQuery - Database query. Type: string (or Expression with resultType string).
SOQLQuery interface{} `json:"SOQLQuery,omitempty"`
// ReadBehavior - The read behavior for the operation. Default is query. Allowed values: query/queryAll. Type: string (or Expression with resultType string).
ReadBehavior interface{} `json:"readBehavior,omitempty"`
// IncludeDeletedObjects - This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean).
IncludeDeletedObjects interface{} `json:"includeDeletedObjects,omitempty"`
// QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
QueryTimeout interface{} `json:"queryTimeout,omitempty"`
// AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
Expand All @@ -241202,8 +241224,8 @@ func (svs SalesforceV2Source) MarshalJSON() ([]byte, error) {
if svs.SOQLQuery != nil {
objectMap["SOQLQuery"] = svs.SOQLQuery
}
if svs.ReadBehavior != nil {
objectMap["readBehavior"] = svs.ReadBehavior
if svs.IncludeDeletedObjects != nil {
objectMap["includeDeletedObjects"] = svs.IncludeDeletedObjects
}
if svs.QueryTimeout != nil {
objectMap["queryTimeout"] = svs.QueryTimeout
Expand Down Expand Up @@ -241770,14 +241792,14 @@ func (svs *SalesforceV2Source) UnmarshalJSON(body []byte) error {
}
svs.SOQLQuery = sOQLQuery
}
case "readBehavior":
case "includeDeletedObjects":
if v != nil {
var readBehavior interface{}
err = json.Unmarshal(*v, &readBehavior)
var includeDeletedObjects interface{}
err = json.Unmarshal(*v, &includeDeletedObjects)
if err != nil {
return err
}
svs.ReadBehavior = readBehavior
svs.IncludeDeletedObjects = includeDeletedObjects
}
case "queryTimeout":
if v != nil {
Expand Down
Loading