SqlScriptFolder Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.SqlScriptFolder

Implements

public final class SqlScriptFolder
implements JsonSerializable<SqlScriptFolder>

The folder that this SQL script is in. If not specified, this SQL script will appear at the root level.

Constructor Summary

Constructor Description
SqlScriptFolder()

Creates an instance of SqlScriptFolder class.

Method Summary

Modifier and Type Method and Description
static SqlScriptFolder fromJson(JsonReader jsonReader)

Reads an instance of SqlScriptFolder from the JsonReader.

String getName()

Get the name property: The name of the folder that this SQL script is in.

SqlScriptFolder setName(String name)

Set the name property: The name of the folder that this SQL script is in.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SqlScriptFolder

public SqlScriptFolder()

Creates an instance of SqlScriptFolder class.

Method Details

fromJson

public static SqlScriptFolder fromJson(JsonReader jsonReader)

Reads an instance of SqlScriptFolder from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlScriptFolder if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlScriptFolder.

getName

public String getName()

Get the name property: The name of the folder that this SQL script is in.

Returns:

the name value.

setName

public SqlScriptFolder setName(String name)

Set the name property: The name of the folder that this SQL script is in.

Parameters:

name - the name value to set.

Returns:

the SqlScriptFolder object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to