Share via


NotebookFolder Class

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

Implements

public final class NotebookFolder
implements JsonSerializable<NotebookFolder>

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

Constructor Summary

Constructor Description
NotebookFolder()

Creates an instance of NotebookFolder class.

Method Summary

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

Reads an instance of NotebookFolder from the JsonReader.

String getName()

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

NotebookFolder setName(String name)

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

NotebookFolder

public NotebookFolder()

Creates an instance of NotebookFolder class.

Method Details

fromJson

public static NotebookFolder fromJson(JsonReader jsonReader)

Reads an instance of NotebookFolder from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NotebookFolder 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 NotebookFolder.

getName

public String getName()

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

Returns:

the name value.

setName

public NotebookFolder setName(String name)

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

Parameters:

name - the name value to set.

Returns:

the NotebookFolder object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to