Delen via


NotebookLanguageInfo Class

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

Implements

public final class NotebookLanguageInfo
implements JsonSerializable<NotebookLanguageInfo>

Language info.

Constructor Summary

Constructor Description
NotebookLanguageInfo()

Creates an instance of NotebookLanguageInfo class.

Method Summary

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

Reads an instance of NotebookLanguageInfo from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Language info.

String getCodemirrorMode()

Get the codemirrorMode property: The codemirror mode to use for code in this language.

String getName()

Get the name property: The programming language which this kernel runs.

NotebookLanguageInfo setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Language info.

NotebookLanguageInfo setCodemirrorMode(String codemirrorMode)

Set the codemirrorMode property: The codemirror mode to use for code in this language.

NotebookLanguageInfo setName(String name)

Set the name property: The programming language which this kernel runs.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

NotebookLanguageInfo

public NotebookLanguageInfo()

Creates an instance of NotebookLanguageInfo class.

Method Details

fromJson

public static NotebookLanguageInfo fromJson(JsonReader jsonReader)

Reads an instance of NotebookLanguageInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Language info.

Returns:

the additionalProperties value.

getCodemirrorMode

public String getCodemirrorMode()

Get the codemirrorMode property: The codemirror mode to use for code in this language.

Returns:

the codemirrorMode value.

getName

public String getName()

Get the name property: The programming language which this kernel runs.

Returns:

the name value.

setAdditionalProperties

public NotebookLanguageInfo setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Language info.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the NotebookLanguageInfo object itself.

setCodemirrorMode

public NotebookLanguageInfo setCodemirrorMode(String codemirrorMode)

Set the codemirrorMode property: The codemirror mode to use for code in this language.

Parameters:

codemirrorMode - the codemirrorMode value to set.

Returns:

the NotebookLanguageInfo object itself.

setName

public NotebookLanguageInfo setName(String name)

Set the name property: The programming language which this kernel runs.

Parameters:

name - the name value to set.

Returns:

the NotebookLanguageInfo object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to