forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from ea9d8ea18d34bc580930e38bd11e0c472ddbf1ef
Fixed prettier check issues
- Loading branch information
SDK Automation
committed
May 28, 2020
1 parent
6393e8d
commit efa121c
Showing
6 changed files
with
370 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 134 additions & 0 deletions
134
...6_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlDataset.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
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; | ||
import com.microsoft.rest.serializer.JsonFlatten; | ||
import com.microsoft.azure.management.datafactory.v2018_06_01.implementation.DatasetInner; | ||
|
||
/** | ||
* Xml dataset. | ||
*/ | ||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = XmlDataset.class) | ||
@JsonTypeName("Xml") | ||
@JsonFlatten | ||
public class XmlDataset extends DatasetInner { | ||
/** | ||
* The location of the json data storage. | ||
*/ | ||
@JsonProperty(value = "typeProperties.location", required = true) | ||
private DatasetLocation location; | ||
|
||
/** | ||
* The code page name of the preferred encoding. If not specified, the | ||
* default value is UTF-8, unless BOM denotes another Unicode encoding. | ||
* Refer to the name column of the table in the following link to set | ||
* supported values: | ||
* https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: | ||
* string (or Expression with resultType string). | ||
*/ | ||
@JsonProperty(value = "typeProperties.encodingName") | ||
private Object encodingName; | ||
|
||
/** | ||
* The null value string. Type: string (or Expression with resultType | ||
* string). | ||
*/ | ||
@JsonProperty(value = "typeProperties.nullValue") | ||
private Object nullValue; | ||
|
||
/** | ||
* The data compression method used for the json dataset. | ||
*/ | ||
@JsonProperty(value = "typeProperties.compression") | ||
private DatasetCompression compression; | ||
|
||
/** | ||
* Get the location of the json data storage. | ||
* | ||
* @return the location value | ||
*/ | ||
public DatasetLocation location() { | ||
return this.location; | ||
} | ||
|
||
/** | ||
* Set the location of the json data storage. | ||
* | ||
* @param location the location value to set | ||
* @return the XmlDataset object itself. | ||
*/ | ||
public XmlDataset withLocation(DatasetLocation location) { | ||
this.location = location; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). | ||
* | ||
* @return the encodingName value | ||
*/ | ||
public Object encodingName() { | ||
return this.encodingName; | ||
} | ||
|
||
/** | ||
* Set the code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). | ||
* | ||
* @param encodingName the encodingName value to set | ||
* @return the XmlDataset object itself. | ||
*/ | ||
public XmlDataset withEncodingName(Object encodingName) { | ||
this.encodingName = encodingName; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the null value string. Type: string (or Expression with resultType string). | ||
* | ||
* @return the nullValue value | ||
*/ | ||
public Object nullValue() { | ||
return this.nullValue; | ||
} | ||
|
||
/** | ||
* Set the null value string. Type: string (or Expression with resultType string). | ||
* | ||
* @param nullValue the nullValue value to set | ||
* @return the XmlDataset object itself. | ||
*/ | ||
public XmlDataset withNullValue(Object nullValue) { | ||
this.nullValue = nullValue; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the data compression method used for the json dataset. | ||
* | ||
* @return the compression value | ||
*/ | ||
public DatasetCompression compression() { | ||
return this.compression; | ||
} | ||
|
||
/** | ||
* Set the data compression method used for the json dataset. | ||
* | ||
* @param compression the compression value to set | ||
* @return the XmlDataset object itself. | ||
*/ | ||
public XmlDataset withCompression(DatasetCompression compression) { | ||
this.compression = compression; | ||
return this; | ||
} | ||
|
||
} |
132 changes: 132 additions & 0 deletions
132
...src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlReadSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
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; | ||
|
||
/** | ||
* Xml read settings. | ||
*/ | ||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = XmlReadSettings.class) | ||
@JsonTypeName("XmlReadSettings") | ||
public class XmlReadSettings extends FormatReadSettings { | ||
/** | ||
* Compression settings. | ||
*/ | ||
@JsonProperty(value = "compressionProperties") | ||
private CompressionReadSettings compressionProperties; | ||
|
||
/** | ||
* Indicates what validation method is used when reading the xml files. | ||
* Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression | ||
* with resultType string). | ||
*/ | ||
@JsonProperty(value = "validationMode") | ||
private Object validationMode; | ||
|
||
/** | ||
* Indicates whether namespace is enabled when parsing the xml files. Type: | ||
* boolean (or Expression with resultType boolean). | ||
*/ | ||
@JsonProperty(value = "namespaces") | ||
private Object namespaces; | ||
|
||
/** | ||
* Namespace uri to prefix mappings to override the prefixes in column | ||
* names when namespace is enabled, if no prefix is defined for a namespace | ||
* uri, the prefix of xml element/attribute name in the xml data file will | ||
* be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object | ||
* (or Expression with resultType object). | ||
*/ | ||
@JsonProperty(value = "namespacePrefixes") | ||
private Object namespacePrefixes; | ||
|
||
/** | ||
* Get compression settings. | ||
* | ||
* @return the compressionProperties value | ||
*/ | ||
public CompressionReadSettings compressionProperties() { | ||
return this.compressionProperties; | ||
} | ||
|
||
/** | ||
* Set compression settings. | ||
* | ||
* @param compressionProperties the compressionProperties value to set | ||
* @return the XmlReadSettings object itself. | ||
*/ | ||
public XmlReadSettings withCompressionProperties(CompressionReadSettings compressionProperties) { | ||
this.compressionProperties = compressionProperties; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). | ||
* | ||
* @return the validationMode value | ||
*/ | ||
public Object validationMode() { | ||
return this.validationMode; | ||
} | ||
|
||
/** | ||
* Set indicates what validation method is used when reading the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: string (or Expression with resultType string). | ||
* | ||
* @param validationMode the validationMode value to set | ||
* @return the XmlReadSettings object itself. | ||
*/ | ||
public XmlReadSettings withValidationMode(Object validationMode) { | ||
this.validationMode = validationMode; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get indicates whether namespace is enabled when parsing the xml files. Type: boolean (or Expression with resultType boolean). | ||
* | ||
* @return the namespaces value | ||
*/ | ||
public Object namespaces() { | ||
return this.namespaces; | ||
} | ||
|
||
/** | ||
* Set indicates whether namespace is enabled when parsing the xml files. Type: boolean (or Expression with resultType boolean). | ||
* | ||
* @param namespaces the namespaces value to set | ||
* @return the XmlReadSettings object itself. | ||
*/ | ||
public XmlReadSettings withNamespaces(Object namespaces) { | ||
this.namespaces = namespaces; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object). | ||
* | ||
* @return the namespacePrefixes value | ||
*/ | ||
public Object namespacePrefixes() { | ||
return this.namespacePrefixes; | ||
} | ||
|
||
/** | ||
* Set namespace uri to prefix mappings to override the prefixes in column names when namespace is enabled, if no prefix is defined for a namespace uri, the prefix of xml element/attribute name in the xml data file will be used. Example: "{"http://www.example.com/xml":"prefix"}" Type: object (or Expression with resultType object). | ||
* | ||
* @param namespacePrefixes the namespacePrefixes value to set | ||
* @return the XmlReadSettings object itself. | ||
*/ | ||
public XmlReadSettings withNamespacePrefixes(Object namespacePrefixes) { | ||
this.namespacePrefixes = namespacePrefixes; | ||
return this; | ||
} | ||
|
||
} |
101 changes: 101 additions & 0 deletions
101
...06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlSource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.datafactory.v2018_06_01; | ||
|
||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonTypeInfo; | ||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
|
||
/** | ||
* A copy activity Xml source. | ||
*/ | ||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = XmlSource.class) | ||
@JsonTypeName("XmlSource") | ||
public class XmlSource extends CopySource { | ||
/** | ||
* Xml store settings. | ||
*/ | ||
@JsonProperty(value = "storeSettings") | ||
private StoreReadSettings storeSettings; | ||
|
||
/** | ||
* Xml format settings. | ||
*/ | ||
@JsonProperty(value = "formatSettings") | ||
private XmlReadSettings formatSettings; | ||
|
||
/** | ||
* Specifies the additional columns to be added to source data. Type: array | ||
* of objects (or Expression with resultType array of objects). | ||
*/ | ||
@JsonProperty(value = "additionalColumns") | ||
private List<AdditionalColumns> additionalColumns; | ||
|
||
/** | ||
* Get xml store settings. | ||
* | ||
* @return the storeSettings value | ||
*/ | ||
public StoreReadSettings storeSettings() { | ||
return this.storeSettings; | ||
} | ||
|
||
/** | ||
* Set xml store settings. | ||
* | ||
* @param storeSettings the storeSettings value to set | ||
* @return the XmlSource object itself. | ||
*/ | ||
public XmlSource withStoreSettings(StoreReadSettings storeSettings) { | ||
this.storeSettings = storeSettings; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get xml format settings. | ||
* | ||
* @return the formatSettings value | ||
*/ | ||
public XmlReadSettings formatSettings() { | ||
return this.formatSettings; | ||
} | ||
|
||
/** | ||
* Set xml format settings. | ||
* | ||
* @param formatSettings the formatSettings value to set | ||
* @return the XmlSource object itself. | ||
*/ | ||
public XmlSource withFormatSettings(XmlReadSettings formatSettings) { | ||
this.formatSettings = formatSettings; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). | ||
* | ||
* @return the additionalColumns value | ||
*/ | ||
public List<AdditionalColumns> additionalColumns() { | ||
return this.additionalColumns; | ||
} | ||
|
||
/** | ||
* Set specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). | ||
* | ||
* @param additionalColumns the additionalColumns value to set | ||
* @return the XmlSource object itself. | ||
*/ | ||
public XmlSource withAdditionalColumns(List<AdditionalColumns> additionalColumns) { | ||
this.additionalColumns = additionalColumns; | ||
return this; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters