Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,27 @@
@JsonTypeName("AzureDataLakeStoreSink")
public class AzureDataLakeStoreSink extends CopySink {
/**
* The type of copy behavior for copy sink. Possible values include:
* 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'.
* The type of copy behavior for copy sink.
*/
@JsonProperty(value = "copyBehavior")
private CopyBehaviorType copyBehavior;
private Object copyBehavior;

/**
* Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'.
* Get the type of copy behavior for copy sink.
*
* @return the copyBehavior value
*/
public CopyBehaviorType copyBehavior() {
public Object copyBehavior() {
return this.copyBehavior;
}

/**
* Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'.
* Set the type of copy behavior for copy sink.
*
* @param copyBehavior the copyBehavior value to set
* @return the AzureDataLakeStoreSink object itself.
*/
public AzureDataLakeStoreSink withCopyBehavior(CopyBehaviorType copyBehavior) {
public AzureDataLakeStoreSink withCopyBehavior(Object copyBehavior) {
this.copyBehavior = copyBehavior;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@
public class AzureSearchIndexSink extends CopySink {
/**
* Specify the write behavior when upserting documents into Azure Search
* Index. Possible values include: 'Merge', 'Upload'.
* Index.
*/
@JsonProperty(value = "writeBehavior")
private AzureSearchIndexWriteBehaviorType writeBehavior;
private Object writeBehavior;

/**
* Get specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload'.
* Get specify the write behavior when upserting documents into Azure Search Index.
*
* @return the writeBehavior value
*/
public AzureSearchIndexWriteBehaviorType writeBehavior() {
public Object writeBehavior() {
return this.writeBehavior;
}

/**
* Set specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload'.
* Set specify the write behavior when upserting documents into Azure Search Index.
*
* @param writeBehavior the writeBehavior value to set
* @return the AzureSearchIndexSink object itself.
*/
public AzureSearchIndexSink withWriteBehavior(AzureSearchIndexWriteBehaviorType writeBehavior) {
public AzureSearchIndexSink withWriteBehavior(Object writeBehavior) {
this.writeBehavior = writeBehavior;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,10 @@ public class BlobSink extends CopySink {
private Object blobWriterAddHeader;

/**
* The type of copy behavior for copy sink. Possible values include:
* 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'.
* The type of copy behavior for copy sink.
*/
@JsonProperty(value = "copyBehavior")
private CopyBehaviorType copyBehavior;
private Object copyBehavior;

/**
* Get blob writer overwrite files. Type: boolean (or Expression with resultType boolean).
Expand Down Expand Up @@ -107,21 +106,21 @@ public BlobSink withBlobWriterAddHeader(Object blobWriterAddHeader) {
}

/**
* Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'.
* Get the type of copy behavior for copy sink.
*
* @return the copyBehavior value
*/
public CopyBehaviorType copyBehavior() {
public Object copyBehavior() {
return this.copyBehavior;
}

/**
* Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'.
* Set the type of copy behavior for copy sink.
*
* @param copyBehavior the copyBehavior value to set
* @return the BlobSink object itself.
*/
public BlobSink withCopyBehavior(CopyBehaviorType copyBehavior) {
public BlobSink withCopyBehavior(Object copyBehavior) {
this.copyBehavior = copyBehavior;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ public class CassandraSource extends CopySource {
* Cassandra checks the specified number of Cassandra servers for data to
* satisfy the read request. Must be one of
* cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is
* case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM',
* 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL',
* 'LOCAL_SERIAL'.
* case-insensitive.
*/
@JsonProperty(value = "consistencyLevel")
private CassandraSourceReadConsistencyLevels consistencyLevel;
private Object consistencyLevel;

/**
* Get database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string).
Expand All @@ -60,21 +58,21 @@ public CassandraSource withQuery(Object query) {
}

/**
* Get the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL'.
* Get the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive.
*
* @return the consistencyLevel value
*/
public CassandraSourceReadConsistencyLevels consistencyLevel() {
public Object consistencyLevel() {
return this.consistencyLevel;
}

/**
* Set the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL'.
* Set the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive.
*
* @param consistencyLevel the consistencyLevel value to set
* @return the CassandraSource object itself.
*/
public CassandraSource withConsistencyLevel(CassandraSourceReadConsistencyLevels consistencyLevel) {
public CassandraSource withConsistencyLevel(Object consistencyLevel) {
this.consistencyLevel = consistencyLevel;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class CopyActivity extends ExecutionActivity {
* Copy activity translator. If not specified, tabular translator is used.
*/
@JsonProperty(value = "typeProperties.translator")
private CopyTranslator translator;
private Object translator;

/**
* Specifies whether to copy data via an interim staging. Default value is
Expand Down Expand Up @@ -139,7 +139,7 @@ public CopyActivity withSink(CopySink sink) {
*
* @return the translator value
*/
public CopyTranslator translator() {
public Object translator() {
return this.translator;
}

Expand All @@ -149,7 +149,7 @@ public CopyTranslator translator() {
* @param translator the translator value to set
* @return the CopyActivity object itself.
*/
public CopyActivity withTranslator(CopyTranslator translator) {
public CopyActivity withTranslator(Object translator) {
this.translator = translator;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,27 @@
@JsonTypeName("Deflate")
public class DatasetDeflateCompression extends DatasetCompression {
/**
* The Deflate compression level. Possible values include: 'Optimal',
* 'Fastest'.
* The Deflate compression level.
*/
@JsonProperty(value = "level")
private DatasetCompressionLevel level;
private Object level;

/**
* Get the Deflate compression level. Possible values include: 'Optimal', 'Fastest'.
* Get the Deflate compression level.
*
* @return the level value
*/
public DatasetCompressionLevel level() {
public Object level() {
return this.level;
}

/**
* Set the Deflate compression level. Possible values include: 'Optimal', 'Fastest'.
* Set the Deflate compression level.
*
* @param level the level value to set
* @return the DatasetDeflateCompression object itself.
*/
public DatasetDeflateCompression withLevel(DatasetCompressionLevel level) {
public DatasetDeflateCompression withLevel(Object level) {
this.level = level;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,27 @@
@JsonTypeName("GZip")
public class DatasetGZipCompression extends DatasetCompression {
/**
* The GZip compression level. Possible values include: 'Optimal',
* 'Fastest'.
* The GZip compression level.
*/
@JsonProperty(value = "level")
private DatasetCompressionLevel level;
private Object level;

/**
* Get the GZip compression level. Possible values include: 'Optimal', 'Fastest'.
* Get the GZip compression level.
*
* @return the level value
*/
public DatasetCompressionLevel level() {
public Object level() {
return this.level;
}

/**
* Set the GZip compression level. Possible values include: 'Optimal', 'Fastest'.
* Set the GZip compression level.
*
* @param level the level value to set
* @return the DatasetGZipCompression object itself.
*/
public DatasetGZipCompression withLevel(DatasetCompressionLevel level) {
public DatasetGZipCompression withLevel(Object level) {
this.level = level;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,27 @@
@JsonTypeName("ZipDeflate")
public class DatasetZipDeflateCompression extends DatasetCompression {
/**
* The ZipDeflate compression level. Possible values include: 'Optimal',
* 'Fastest'.
* The ZipDeflate compression level.
*/
@JsonProperty(value = "level")
private DatasetCompressionLevel level;
private Object level;

/**
* Get the ZipDeflate compression level. Possible values include: 'Optimal', 'Fastest'.
* Get the ZipDeflate compression level.
*
* @return the level value
*/
public DatasetCompressionLevel level() {
public Object level() {
return this.level;
}

/**
* Set the ZipDeflate compression level. Possible values include: 'Optimal', 'Fastest'.
* Set the ZipDeflate compression level.
*
* @param level the level value to set
* @return the DatasetZipDeflateCompression object itself.
*/
public DatasetZipDeflateCompression withLevel(DatasetCompressionLevel level) {
public DatasetZipDeflateCompression withLevel(Object level) {
this.level = level;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class DynamicsSink extends CopySink {
* The write behavior for the operation.
*/
@JsonProperty(value = "writeBehavior", required = true)
private String writeBehavior;
private Object writeBehavior;

/**
* The flag indicating whether ignore null values from input dataset
Expand All @@ -36,15 +36,15 @@ public class DynamicsSink extends CopySink {
* Creates an instance of DynamicsSink class.
*/
public DynamicsSink() {
writeBehavior = "Upsert";
writeBehavior = Upsert;
}

/**
* Get the write behavior for the operation.
*
* @return the writeBehavior value
*/
public String writeBehavior() {
public Object writeBehavior() {
return this.writeBehavior;
}

Expand All @@ -54,7 +54,7 @@ public String writeBehavior() {
* @param writeBehavior the writeBehavior value to set
* @return the DynamicsSink object itself.
*/
public DynamicsSink withWriteBehavior(String writeBehavior) {
public DynamicsSink withWriteBehavior(Object writeBehavior) {
this.writeBehavior = writeBehavior;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/**
* 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.datafactoryv2.v2017_09_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The entity reference.
*/
public class EntityReference {
/**
* The type of this referenced entity. Possible values include:
* 'IntegrationRuntimeReference', 'LinkedServiceReference'.
*/
@JsonProperty(value = "type")
private IntegrationRuntimeEntityReferenceType type;

/**
* The name of this referenced entity.
*/
@JsonProperty(value = "referenceName")
private String referenceName;

/**
* Get the type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference'.
*
* @return the type value
*/
public IntegrationRuntimeEntityReferenceType type() {
return this.type;
}

/**
* Set the type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference'.
*
* @param type the type value to set
* @return the EntityReference object itself.
*/
public EntityReference withType(IntegrationRuntimeEntityReferenceType type) {
this.type = type;
return this;
}

/**
* Get the name of this referenced entity.
*
* @return the referenceName value
*/
public String referenceName() {
return this.referenceName;
}

/**
* Set the name of this referenced entity.
*
* @param referenceName the referenceName value to set
* @return the EntityReference object itself.
*/
public EntityReference withReferenceName(String referenceName) {
this.referenceName = referenceName;
return this;
}

}
Loading