ScriptActivityParameter Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. ScriptActivityParameter
- com.
Implements
public final class ScriptActivityParameter
implements JsonSerializable<ScriptActivityParameter>
Parameters of a script block.
Constructor Summary
| Constructor | Description |
|---|---|
| ScriptActivityParameter() |
Creates an instance of Script |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Script |
fromJson(JsonReader jsonReader)
Reads an instance of Script |
|
Script |
getDirection()
Get the direction property: The direction of the parameter. |
| Object |
getName()
Get the name property: The name of the parameter. |
| Integer |
getSize()
Get the size property: The size of the output direction parameter. |
|
Script |
getType()
Get the type property: The type of the parameter. |
| Object |
getValue()
Get the value property: The value of the parameter. |
|
Script |
setDirection(ScriptActivityParameterDirection direction)
Set the direction property: The direction of the parameter. |
|
Script |
setName(Object name)
Set the name property: The name of the parameter. |
|
Script |
setSize(Integer size)
Set the size property: The size of the output direction parameter. |
|
Script |
setType(ScriptActivityParameterType type)
Set the type property: The type of the parameter. |
|
Script |
setValue(Object value)
Set the value property: The value of the parameter. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ScriptActivityParameter
public ScriptActivityParameter()
Creates an instance of ScriptActivityParameter class.
Method Details
fromJson
public static ScriptActivityParameter fromJson(JsonReader jsonReader)
Reads an instance of ScriptActivityParameter from the JsonReader.
Parameters:
Returns:
Throws:
getDirection
public ScriptActivityParameterDirection getDirection()
Get the direction property: The direction of the parameter.
Returns:
getName
public Object getName()
Get the name property: The name of the parameter. Type: string (or Expression with resultType string).
Returns:
getSize
public Integer getSize()
Get the size property: The size of the output direction parameter.
Returns:
getType
public ScriptActivityParameterType getType()
Get the type property: The type of the parameter.
Returns:
getValue
public Object getValue()
Get the value property: The value of the parameter.
Returns:
setDirection
public ScriptActivityParameter setDirection(ScriptActivityParameterDirection direction)
Set the direction property: The direction of the parameter.
Parameters:
Returns:
setName
public ScriptActivityParameter setName(Object name)
Set the name property: The name of the parameter. Type: string (or Expression with resultType string).
Parameters:
Returns:
setSize
public ScriptActivityParameter setSize(Integer size)
Set the size property: The size of the output direction parameter.
Parameters:
Returns:
setType
public ScriptActivityParameter setType(ScriptActivityParameterType type)
Set the type property: The type of the parameter.
Parameters:
Returns:
setValue
public ScriptActivityParameter setValue(Object value)
Set the value property: The value of the parameter.
Parameters:
Returns: