From 8827e96da76c8f369a17ab33dfb3eeba630830e9 Mon Sep 17 00:00:00 2001 From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2019 08:17:58 +0000 Subject: [PATCH] Generated from 1399f090601abea10de38ae50242895878947a74 (#4652) Add paramref into custom-words.txt --- .../datafactory/v2018_06_01/CopySource.java | 1 + .../v2018_06_01/Office365Source.java | 136 ++++++++++++++++++ .../datafactory/v2018_06_01/RestSource.java | 108 ++++++++++++++ .../v2018_06_01/SapOpenHubSource.java | 57 ++++++++ .../implementation/DatasetInner.java | 1 + .../implementation/LinkedServiceInner.java | 1 + 6 files changed, 304 insertions(+) diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java index 91f4083bfac44..e410118fcea6a 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java @@ -39,6 +39,7 @@ @JsonSubTypes.Type(name = "PhoenixSource", value = PhoenixSource.class), @JsonSubTypes.Type(name = "PaypalSource", value = PaypalSource.class), @JsonSubTypes.Type(name = "MarketoSource", value = MarketoSource.class), + @JsonSubTypes.Type(name = "AzureMariaDBSource", value = AzureMariaDBSource.class), @JsonSubTypes.Type(name = "MariaDBSource", value = MariaDBSource.class), @JsonSubTypes.Type(name = "MagentoSource", value = MagentoSource.class), @JsonSubTypes.Type(name = "JiraSource", value = JiraSource.class), diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Office365Source.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Office365Source.java index 7c1babfed200d..3f15d7fb5424b 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Office365Source.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Office365Source.java @@ -8,6 +8,7 @@ package com.microsoft.azure.management.datafactory.v2018_06_01; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; @@ -17,4 +18,139 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("Office365Source") public class Office365Source extends CopySource { + /** + * The groups containing all the users. Type: array of strings (or + * Expression with resultType array of strings). + */ + @JsonProperty(value = "allowedGroups") + private Object allowedGroups; + + /** + * The user scope uri. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "userScopeFilterUri") + private Object userScopeFilterUri; + + /** + * The Column to apply the <paramref name="StartTime"/> and + * <paramref name="EndTime"/>. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "dateFilterColumn") + private Object dateFilterColumn; + + /** + * Start time of the requested range for this dataset. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "startTime") + private Object startTime; + + /** + * End time of the requested range for thsi dataset. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "endTime") + private Object endTime; + + /** + * Get the groups containing all the users. Type: array of strings (or Expression with resultType array of strings). + * + * @return the allowedGroups value + */ + public Object allowedGroups() { + return this.allowedGroups; + } + + /** + * Set the groups containing all the users. Type: array of strings (or Expression with resultType array of strings). + * + * @param allowedGroups the allowedGroups value to set + * @return the Office365Source object itself. + */ + public Office365Source withAllowedGroups(Object allowedGroups) { + this.allowedGroups = allowedGroups; + return this; + } + + /** + * Get the user scope uri. Type: string (or Expression with resultType string). + * + * @return the userScopeFilterUri value + */ + public Object userScopeFilterUri() { + return this.userScopeFilterUri; + } + + /** + * Set the user scope uri. Type: string (or Expression with resultType string). + * + * @param userScopeFilterUri the userScopeFilterUri value to set + * @return the Office365Source object itself. + */ + public Office365Source withUserScopeFilterUri(Object userScopeFilterUri) { + this.userScopeFilterUri = userScopeFilterUri; + return this; + } + + /** + * Get the Column to apply the <paramref name="StartTime"/> and <paramref name="EndTime"/>. Type: string (or Expression with resultType string). + * + * @return the dateFilterColumn value + */ + public Object dateFilterColumn() { + return this.dateFilterColumn; + } + + /** + * Set the Column to apply the <paramref name="StartTime"/> and <paramref name="EndTime"/>. Type: string (or Expression with resultType string). + * + * @param dateFilterColumn the dateFilterColumn value to set + * @return the Office365Source object itself. + */ + public Office365Source withDateFilterColumn(Object dateFilterColumn) { + this.dateFilterColumn = dateFilterColumn; + return this; + } + + /** + * Get start time of the requested range for this dataset. Type: string (or Expression with resultType string). + * + * @return the startTime value + */ + public Object startTime() { + return this.startTime; + } + + /** + * Set start time of the requested range for this dataset. Type: string (or Expression with resultType string). + * + * @param startTime the startTime value to set + * @return the Office365Source object itself. + */ + public Office365Source withStartTime(Object startTime) { + this.startTime = startTime; + return this; + } + + /** + * Get end time of the requested range for thsi dataset. Type: string (or Expression with resultType string). + * + * @return the endTime value + */ + public Object endTime() { + return this.endTime; + } + + /** + * Set end time of the requested range for thsi dataset. Type: string (or Expression with resultType string). + * + * @param endTime the endTime value to set + * @return the Office365Source object itself. + */ + public Office365Source withEndTime(Object endTime) { + this.endTime = endTime; + return this; + } + } diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestSource.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestSource.java index dd2d0cf303dca..670ad210007ae 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestSource.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/RestSource.java @@ -18,6 +18,34 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("RestSource") public class RestSource extends CopySource { + /** + * The HTTP method used to call the RESTful API. The default is GET. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "requestMethod") + private Object requestMethod; + + /** + * The HTTP request body to the RESTful API if requestMethod is POST. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "requestBody") + private Object requestBody; + + /** + * The additional HTTP headers in the request to the RESTful API. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "additionalHeaders") + private Object additionalHeaders; + + /** + * The pagination rules to compose next page requests. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "paginationRules") + private Object paginationRules; + /** * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get * a response, not the timeout to read response data. Default value: @@ -33,6 +61,86 @@ public class RestSource extends CopySource { @JsonProperty(value = "requestInterval") private Object requestInterval; + /** + * Get the HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * + * @return the requestMethod value + */ + public Object requestMethod() { + return this.requestMethod; + } + + /** + * Set the HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * + * @param requestMethod the requestMethod value to set + * @return the RestSource object itself. + */ + public RestSource withRequestMethod(Object requestMethod) { + this.requestMethod = requestMethod; + return this; + } + + /** + * Get the HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + * + * @return the requestBody value + */ + public Object requestBody() { + return this.requestBody; + } + + /** + * Set the HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + * + * @param requestBody the requestBody value to set + * @return the RestSource object itself. + */ + public RestSource withRequestBody(Object requestBody) { + this.requestBody = requestBody; + return this; + } + + /** + * Get the additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + * + * @return the additionalHeaders value + */ + public Object additionalHeaders() { + return this.additionalHeaders; + } + + /** + * Set the additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + * + * @param additionalHeaders the additionalHeaders value to set + * @return the RestSource object itself. + */ + public RestSource withAdditionalHeaders(Object additionalHeaders) { + this.additionalHeaders = additionalHeaders; + return this; + } + + /** + * Get the pagination rules to compose next page requests. Type: string (or Expression with resultType string). + * + * @return the paginationRules value + */ + public Object paginationRules() { + return this.paginationRules; + } + + /** + * Set the pagination rules to compose next page requests. Type: string (or Expression with resultType string). + * + * @param paginationRules the paginationRules value to set + * @return the RestSource object itself. + */ + public RestSource withPaginationRules(Object paginationRules) { + this.paginationRules = paginationRules; + return this; + } + /** * Get the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). * diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java index 2a925f1f4b02a..853793f099f2c 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapOpenHubSource.java @@ -8,6 +8,7 @@ package com.microsoft.azure.management.datafactory.v2018_06_01; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; @@ -18,4 +19,60 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") @JsonTypeName("SapOpenHubSource") public class SapOpenHubSource extends CopySource { + /** + * Whether to exclude the records of the last request. The default value is + * true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "excludeLastRequest") + private Object excludeLastRequest; + + /** + * The ID of request for delta loading. Once it is set, only data with + * requestId larger than the value of this property will be retrieved. The + * default value is 0. Type: integer (or Expression with resultType integer + * ). + */ + @JsonProperty(value = "baseRequestId") + private Object baseRequestId; + + /** + * Get whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). + * + * @return the excludeLastRequest value + */ + public Object excludeLastRequest() { + return this.excludeLastRequest; + } + + /** + * Set whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean). + * + * @param excludeLastRequest the excludeLastRequest value to set + * @return the SapOpenHubSource object itself. + */ + public SapOpenHubSource withExcludeLastRequest(Object excludeLastRequest) { + this.excludeLastRequest = excludeLastRequest; + return this; + } + + /** + * Get the ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). + * + * @return the baseRequestId value + */ + public Object baseRequestId() { + return this.baseRequestId; + } + + /** + * Set the ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer ). + * + * @param baseRequestId the baseRequestId value to set + * @return the SapOpenHubSource object itself. + */ + public SapOpenHubSource withBaseRequestId(Object baseRequestId) { + this.baseRequestId = baseRequestId; + return this; + } + } diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java index 47aacbd8d6083..0a417a2ef495b 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java @@ -44,6 +44,7 @@ @JsonSubTypes.Type(name = "PhoenixObject", value = PhoenixObjectDataset.class), @JsonSubTypes.Type(name = "PaypalObject", value = PaypalObjectDataset.class), @JsonSubTypes.Type(name = "MarketoObject", value = MarketoObjectDataset.class), + @JsonSubTypes.Type(name = "AzureMariaDBTable", value = AzureMariaDBTableDataset.class), @JsonSubTypes.Type(name = "MariaDBTable", value = MariaDBTableDataset.class), @JsonSubTypes.Type(name = "MagentoObject", value = MagentoObjectDataset.class), @JsonSubTypes.Type(name = "JiraObject", value = JiraObjectDataset.class), diff --git a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java index 6471c87b1194f..626645e8cca38 100644 --- a/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java +++ b/datafactory/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java @@ -49,6 +49,7 @@ @JsonSubTypes.Type(name = "Phoenix", value = PhoenixLinkedService.class), @JsonSubTypes.Type(name = "Paypal", value = PaypalLinkedService.class), @JsonSubTypes.Type(name = "Marketo", value = MarketoLinkedService.class), + @JsonSubTypes.Type(name = "AzureMariaDB", value = AzureMariaDBLinkedService.class), @JsonSubTypes.Type(name = "MariaDB", value = MariaDBLinkedService.class), @JsonSubTypes.Type(name = "Magento", value = MagentoLinkedService.class), @JsonSubTypes.Type(name = "Jira", value = JiraLinkedService.class),