Skip to content

Commit

Permalink
Generated from 04d330debfe9f9f86aece8489cb5758f4025c53a (#2262)
Browse files Browse the repository at this point in the history
[ADF] Bringing back additionalProperties in Activity removed by mistake
  • Loading branch information
AutorestCI authored Jul 24, 2018
1 parent 326d3d9 commit b936080
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

package com.microsoft.azure.management.datafactoryv2.v2018_06_01;

import java.util.Map;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
Expand All @@ -24,6 +25,12 @@
@JsonSubTypes.Type(name = "Container", value = ControlActivity.class)
})
public class Activity {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map<String, Object> additionalProperties;

/**
* Activity name.
*/
Expand All @@ -48,6 +55,26 @@ public class Activity {
@JsonProperty(value = "userProperties")
private List<UserProperty> userProperties;

/**
* Get unmatched properties from the message are deserialized this collection.
*
* @return the additionalProperties value
*/
public Map<String, Object> additionalProperties() {
return this.additionalProperties;
}

/**
* Set unmatched properties from the message are deserialized this collection.
*
* @param additionalProperties the additionalProperties value to set
* @return the Activity object itself.
*/
public Activity withAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}

/**
* Get activity name.
*
Expand Down

0 comments on commit b936080

Please sign in to comment.