KqlScriptResource Class

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

Implements

public final class KqlScriptResource
implements JsonSerializable<KqlScriptResource>

The KqlScriptResource model.

Constructor Summary

Constructor Description
KqlScriptResource()

Creates an instance of KqlScriptResource class.

Method Summary

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

Reads an instance of KqlScriptResource from the JsonReader.

String getId()

Get the id property: The id property.

String getName()

Get the name property: The name property.

KqlScript getProperties()

Get the properties property: Properties of sql script.

String getType()

Get the type property: The type property.

KqlScriptResource setId(String id)

Set the id property: The id property.

KqlScriptResource setName(String name)

Set the name property: The name property.

KqlScriptResource setProperties(KqlScript properties)

Set the properties property: Properties of sql script.

KqlScriptResource setType(String type)

Set the type property: The type property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

KqlScriptResource

public KqlScriptResource()

Creates an instance of KqlScriptResource class.

Method Details

fromJson

public static KqlScriptResource fromJson(JsonReader jsonReader)

Reads an instance of KqlScriptResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getId

public String getId()

Get the id property: The id property.

Returns:

the id value.

getName

public String getName()

Get the name property: The name property.

Returns:

the name value.

getProperties

public KqlScript getProperties()

Get the properties property: Properties of sql script.

Returns:

the properties value.

getType

public String getType()

Get the type property: The type property.

Returns:

the type value.

setId

public KqlScriptResource setId(String id)

Set the id property: The id property.

Parameters:

id - the id value to set.

Returns:

the KqlScriptResource object itself.

setName

public KqlScriptResource setName(String name)

Set the name property: The name property.

Parameters:

name - the name value to set.

Returns:

the KqlScriptResource object itself.

setProperties

public KqlScriptResource setProperties(KqlScript properties)

Set the properties property: Properties of sql script.

Parameters:

properties - the properties value to set.

Returns:

the KqlScriptResource object itself.

setType

public KqlScriptResource setType(String type)

Set the type property: The type property.

Parameters:

type - the type value to set.

Returns:

the KqlScriptResource object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to