-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR datafactory/resource-manager] [DataFactory]Add Binary Dataset…
… in swagger (#4439) * Generated from d580034b3ab9269cae3f9755862608763f7e8f5a add type for binary type properties * Generated from d580034b3ab9269cae3f9755862608763f7e8f5a add type for binary type properties
- Loading branch information
1 parent
8111656
commit 8fd5a0b
Showing
6 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
...src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/BinaryDataset.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,76 @@ | ||
/** | ||
* 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.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.datafactoryv2.v2018_06_01.implementation.DatasetInner; | ||
|
||
/** | ||
* Binary dataset. | ||
*/ | ||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") | ||
@JsonTypeName("Binary") | ||
@JsonFlatten | ||
public class BinaryDataset extends DatasetInner { | ||
/** | ||
* The location of the Binary storage. | ||
*/ | ||
@JsonProperty(value = "typeProperties.location", required = true) | ||
private DatasetLocation location; | ||
|
||
/** | ||
* The data compression method used for the binary dataset. | ||
*/ | ||
@JsonProperty(value = "typeProperties.compression") | ||
private DatasetCompression compression; | ||
|
||
/** | ||
* Get the location of the Binary storage. | ||
* | ||
* @return the location value | ||
*/ | ||
public DatasetLocation location() { | ||
return this.location; | ||
} | ||
|
||
/** | ||
* Set the location of the Binary storage. | ||
* | ||
* @param location the location value to set | ||
* @return the BinaryDataset object itself. | ||
*/ | ||
public BinaryDataset withLocation(DatasetLocation location) { | ||
this.location = location; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the data compression method used for the binary dataset. | ||
* | ||
* @return the compression value | ||
*/ | ||
public DatasetCompression compression() { | ||
return this.compression; | ||
} | ||
|
||
/** | ||
* Set the data compression method used for the binary dataset. | ||
* | ||
* @param compression the compression value to set | ||
* @return the BinaryDataset object itself. | ||
*/ | ||
public BinaryDataset withCompression(DatasetCompression compression) { | ||
this.compression = compression; | ||
return this; | ||
} | ||
|
||
} |
47 changes: 47 additions & 0 deletions
47
...01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/BinarySink.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,47 @@ | ||
/** | ||
* 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.v2018_06_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonTypeInfo; | ||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
|
||
/** | ||
* A copy activity Binary sink. | ||
*/ | ||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") | ||
@JsonTypeName("BinarySink") | ||
public class BinarySink extends CopySink { | ||
/** | ||
* Binary store settings. | ||
*/ | ||
@JsonProperty(value = "storeSettings") | ||
private StoreReadSettings storeSettings; | ||
|
||
/** | ||
* Get binary store settings. | ||
* | ||
* @return the storeSettings value | ||
*/ | ||
public StoreReadSettings storeSettings() { | ||
return this.storeSettings; | ||
} | ||
|
||
/** | ||
* Set binary store settings. | ||
* | ||
* @param storeSettings the storeSettings value to set | ||
* @return the BinarySink object itself. | ||
*/ | ||
public BinarySink withStoreSettings(StoreReadSettings storeSettings) { | ||
this.storeSettings = storeSettings; | ||
return this; | ||
} | ||
|
||
} |
47 changes: 47 additions & 0 deletions
47
.../src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/BinarySource.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,47 @@ | ||
/** | ||
* 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.v2018_06_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonTypeInfo; | ||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
|
||
/** | ||
* A copy activity Binary source. | ||
*/ | ||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") | ||
@JsonTypeName("BinarySource") | ||
public class BinarySource extends CopySource { | ||
/** | ||
* Binary store settings. | ||
*/ | ||
@JsonProperty(value = "storeSettings") | ||
private StoreReadSettings storeSettings; | ||
|
||
/** | ||
* Get binary store settings. | ||
* | ||
* @return the storeSettings value | ||
*/ | ||
public StoreReadSettings storeSettings() { | ||
return this.storeSettings; | ||
} | ||
|
||
/** | ||
* Set binary store settings. | ||
* | ||
* @param storeSettings the storeSettings value to set | ||
* @return the BinarySource object itself. | ||
*/ | ||
public BinarySource withStoreSettings(StoreReadSettings storeSettings) { | ||
this.storeSettings = storeSettings; | ||
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
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