Skip to content
Open
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 @@ -21,6 +21,7 @@
@JsonTypeName("CopySource")
@JsonSubTypes({
@JsonSubTypes.Type(name = "AmazonRedshiftSource", value = AmazonRedshiftSource.class),
@JsonSubTypes.Type(name = "ResponsysSource", value = ResponsysSource.class),
@JsonSubTypes.Type(name = "SalesforceMarketingCloudSource", value = SalesforceMarketingCloudSource.class),
@JsonSubTypes.Type(name = "VerticaSource", value = VerticaSource.class),
@JsonSubTypes.Type(name = "NetezzaSource", value = NetezzaSource.class),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/**
* 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;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Factory's VSTS repo information.
*/
public class FactoryRepoUpdate {
/**
* The factory resource id.
*/
@JsonProperty(value = "factoryResourceId")
private String factoryResourceId;

/**
* The resource group name.
*/
@JsonProperty(value = "resourceGroupName")
private String resourceGroupName;

/**
* VSTS repo information of the factory.
*/
@JsonProperty(value = "vstsConfiguration")
private FactoryVSTSConfiguration vstsConfiguration;

/**
* Get the factoryResourceId value.
*
* @return the factoryResourceId value
*/
public String factoryResourceId() {
return this.factoryResourceId;
}

/**
* Set the factoryResourceId value.
*
* @param factoryResourceId the factoryResourceId value to set
* @return the FactoryRepoUpdate object itself.
*/
public FactoryRepoUpdate withFactoryResourceId(String factoryResourceId) {
this.factoryResourceId = factoryResourceId;
return this;
}

/**
* Get the resourceGroupName value.
*
* @return the resourceGroupName value
*/
public String resourceGroupName() {
return this.resourceGroupName;
}

/**
* Set the resourceGroupName value.
*
* @param resourceGroupName the resourceGroupName value to set
* @return the FactoryRepoUpdate object itself.
*/
public FactoryRepoUpdate withResourceGroupName(String resourceGroupName) {
this.resourceGroupName = resourceGroupName;
return this;
}

/**
* Get the vstsConfiguration value.
*
* @return the vstsConfiguration value
*/
public FactoryVSTSConfiguration vstsConfiguration() {
return this.vstsConfiguration;
}

/**
* Set the vstsConfiguration value.
*
* @param vstsConfiguration the vstsConfiguration value to set
* @return the FactoryRepoUpdate object itself.
*/
public FactoryRepoUpdate withVstsConfiguration(FactoryVSTSConfiguration vstsConfiguration) {
this.vstsConfiguration = vstsConfiguration;
return this;
}

}
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.datafactory;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Parameters for updating a factory resource.
*/
public class FactoryUpdateParameters {
/**
* The resource tags.
*/
@JsonProperty(value = "tags")
private Map<String, String> tags;

/**
* Managed service identity of the factory.
*/
@JsonProperty(value = "identity")
private FactoryIdentity identity;

/**
* Get the tags value.
*
* @return the tags value
*/
public Map<String, String> tags() {
return this.tags;
}

/**
* Set the tags value.
*
* @param tags the tags value to set
* @return the FactoryUpdateParameters object itself.
*/
public FactoryUpdateParameters withTags(Map<String, String> tags) {
this.tags = tags;
return this;
}

/**
* Get the identity value.
*
* @return the identity value
*/
public FactoryIdentity identity() {
return this.identity;
}

/**
* Set the identity value.
*
* @param identity the identity value to set
* @return the FactoryUpdateParameters object itself.
*/
public FactoryUpdateParameters withIdentity(FactoryIdentity identity) {
this.identity = identity;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
/**
* 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;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Factory's VSTS repo information.
*/
public class FactoryVSTSConfiguration {
/**
* VSTS account name.
*/
@JsonProperty(value = "accountName")
private String accountName;

/**
* VSTS project name.
*/
@JsonProperty(value = "projectName")
private String projectName;

/**
* VSTS repository name.
*/
@JsonProperty(value = "repositoryName")
private String repositoryName;

/**
* VSTS collaboration branch.
*/
@JsonProperty(value = "collaborationBranch")
private String collaborationBranch;

/**
* VSTS root folder.
*/
@JsonProperty(value = "rootFolder")
private String rootFolder;

/**
* VSTS last commit id.
*/
@JsonProperty(value = "lastCommitId")
private String lastCommitId;

/**
* VSTS tenant id.
*/
@JsonProperty(value = "tenantId")
private String tenantId;

/**
* Get the accountName value.
*
* @return the accountName value
*/
public String accountName() {
return this.accountName;
}

/**
* Set the accountName value.
*
* @param accountName the accountName value to set
* @return the FactoryVSTSConfiguration object itself.
*/
public FactoryVSTSConfiguration withAccountName(String accountName) {
this.accountName = accountName;
return this;
}

/**
* Get the projectName value.
*
* @return the projectName value
*/
public String projectName() {
return this.projectName;
}

/**
* Set the projectName value.
*
* @param projectName the projectName value to set
* @return the FactoryVSTSConfiguration object itself.
*/
public FactoryVSTSConfiguration withProjectName(String projectName) {
this.projectName = projectName;
return this;
}

/**
* Get the repositoryName value.
*
* @return the repositoryName value
*/
public String repositoryName() {
return this.repositoryName;
}

/**
* Set the repositoryName value.
*
* @param repositoryName the repositoryName value to set
* @return the FactoryVSTSConfiguration object itself.
*/
public FactoryVSTSConfiguration withRepositoryName(String repositoryName) {
this.repositoryName = repositoryName;
return this;
}

/**
* Get the collaborationBranch value.
*
* @return the collaborationBranch value
*/
public String collaborationBranch() {
return this.collaborationBranch;
}

/**
* Set the collaborationBranch value.
*
* @param collaborationBranch the collaborationBranch value to set
* @return the FactoryVSTSConfiguration object itself.
*/
public FactoryVSTSConfiguration withCollaborationBranch(String collaborationBranch) {
this.collaborationBranch = collaborationBranch;
return this;
}

/**
* Get the rootFolder value.
*
* @return the rootFolder value
*/
public String rootFolder() {
return this.rootFolder;
}

/**
* Set the rootFolder value.
*
* @param rootFolder the rootFolder value to set
* @return the FactoryVSTSConfiguration object itself.
*/
public FactoryVSTSConfiguration withRootFolder(String rootFolder) {
this.rootFolder = rootFolder;
return this;
}

/**
* Get the lastCommitId value.
*
* @return the lastCommitId value
*/
public String lastCommitId() {
return this.lastCommitId;
}

/**
* Set the lastCommitId value.
*
* @param lastCommitId the lastCommitId value to set
* @return the FactoryVSTSConfiguration object itself.
*/
public FactoryVSTSConfiguration withLastCommitId(String lastCommitId) {
this.lastCommitId = lastCommitId;
return this;
}

/**
* Get the tenantId value.
*
* @return the tenantId value
*/
public String tenantId() {
return this.tenantId;
}

/**
* Set the tenantId value.
*
* @param tenantId the tenantId value to set
* @return the FactoryVSTSConfiguration object itself.
*/
public FactoryVSTSConfiguration withTenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}

}
Loading