Skip to content

Commit

Permalink
[AutoPR datafactory/resource-manager] add missing ssis entity types (#…
Browse files Browse the repository at this point in the history
…3450)

* Generated from 43b89ff2a9fc6e777f3a729a52b85b7343afa5dc

add missing ssis entity types

* Generated from 022afeb984b36a0017fa4738c9b553200fdda697

fix typo
  • Loading branch information
AutorestCI authored May 21, 2019
1 parent 9355e54 commit 6d268e8
Show file tree
Hide file tree
Showing 8 changed files with 1,002 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/**
* 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Ssis environment.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Environment")
public class SsisEnvironment extends SsisObjectMetadata {
/**
* Folder id which contains environment.
*/
@JsonProperty(value = "folderId")
private Long folderId;

/**
* Variable in environment.
*/
@JsonProperty(value = "variables")
private List<SsisVariable> variables;

/**
* Get folder id which contains environment.
*
* @return the folderId value
*/
public Long folderId() {
return this.folderId;
}

/**
* Set folder id which contains environment.
*
* @param folderId the folderId value to set
* @return the SsisEnvironment object itself.
*/
public SsisEnvironment withFolderId(Long folderId) {
this.folderId = folderId;
return this;
}

/**
* Get variable in environment.
*
* @return the variables value
*/
public List<SsisVariable> variables() {
return this.variables;
}

/**
* Set variable in environment.
*
* @param variables the variables value to set
* @return the SsisEnvironment object itself.
*/
public SsisEnvironment withVariables(List<SsisVariable> variables) {
this.variables = variables;
return this;
}

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

/**
* Ssis environment reference.
*/
public class SsisEnvironmentReference {
/**
* Environment reference id.
*/
@JsonProperty(value = "id")
private Long id;

/**
* Environment folder name.
*/
@JsonProperty(value = "environmentFolderName")
private String environmentFolderName;

/**
* Environment name.
*/
@JsonProperty(value = "environmentName")
private String environmentName;

/**
* Reference type.
*/
@JsonProperty(value = "referenceType")
private String referenceType;

/**
* Get environment reference id.
*
* @return the id value
*/
public Long id() {
return this.id;
}

/**
* Set environment reference id.
*
* @param id the id value to set
* @return the SsisEnvironmentReference object itself.
*/
public SsisEnvironmentReference withId(Long id) {
this.id = id;
return this;
}

/**
* Get environment folder name.
*
* @return the environmentFolderName value
*/
public String environmentFolderName() {
return this.environmentFolderName;
}

/**
* Set environment folder name.
*
* @param environmentFolderName the environmentFolderName value to set
* @return the SsisEnvironmentReference object itself.
*/
public SsisEnvironmentReference withEnvironmentFolderName(String environmentFolderName) {
this.environmentFolderName = environmentFolderName;
return this;
}

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

/**
* Set environment name.
*
* @param environmentName the environmentName value to set
* @return the SsisEnvironmentReference object itself.
*/
public SsisEnvironmentReference withEnvironmentName(String environmentName) {
this.environmentName = environmentName;
return this;
}

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

/**
* Set reference type.
*
* @param referenceType the referenceType value to set
* @return the SsisEnvironmentReference object itself.
*/
public SsisEnvironmentReference withReferenceType(String referenceType) {
this.referenceType = referenceType;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* 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.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Ssis folder.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Folder")
public class SsisFolder extends SsisObjectMetadata {
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* SSIS object metadata.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("SsisObjectMetadata")
@JsonSubTypes({
@JsonSubTypes.Type(name = "Environment", value = SsisEnvironment.class),
@JsonSubTypes.Type(name = "Package", value = SsisPackage.class),
@JsonSubTypes.Type(name = "Project", value = SsisProject.class),
@JsonSubTypes.Type(name = "Folder", value = SsisFolder.class)
})
public class SsisObjectMetadata {
/**
* Metadata id.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
/**
* 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* Ssis Package.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Package")
public class SsisPackage extends SsisObjectMetadata {
/**
* Folder id which contains package.
*/
@JsonProperty(value = "folderId")
private Long folderId;

/**
* Project version which contains package.
*/
@JsonProperty(value = "projectVersion")
private Long projectVersion;

/**
* Project id which contains package.
*/
@JsonProperty(value = "projectId")
private Long projectId;

/**
* Parameters in package.
*/
@JsonProperty(value = "parameters")
private List<SsisParameter> parameters;

/**
* Get folder id which contains package.
*
* @return the folderId value
*/
public Long folderId() {
return this.folderId;
}

/**
* Set folder id which contains package.
*
* @param folderId the folderId value to set
* @return the SsisPackage object itself.
*/
public SsisPackage withFolderId(Long folderId) {
this.folderId = folderId;
return this;
}

/**
* Get project version which contains package.
*
* @return the projectVersion value
*/
public Long projectVersion() {
return this.projectVersion;
}

/**
* Set project version which contains package.
*
* @param projectVersion the projectVersion value to set
* @return the SsisPackage object itself.
*/
public SsisPackage withProjectVersion(Long projectVersion) {
this.projectVersion = projectVersion;
return this;
}

/**
* Get project id which contains package.
*
* @return the projectId value
*/
public Long projectId() {
return this.projectId;
}

/**
* Set project id which contains package.
*
* @param projectId the projectId value to set
* @return the SsisPackage object itself.
*/
public SsisPackage withProjectId(Long projectId) {
this.projectId = projectId;
return this;
}

/**
* Get parameters in package.
*
* @return the parameters value
*/
public List<SsisParameter> parameters() {
return this.parameters;
}

/**
* Set parameters in package.
*
* @param parameters the parameters value to set
* @return the SsisPackage object itself.
*/
public SsisPackage withParameters(List<SsisParameter> parameters) {
this.parameters = parameters;
return this;
}

}
Loading

0 comments on commit 6d268e8

Please sign in to comment.