ScriptCheckNameRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.kusto.models.ScriptCheckNameRequest

Implements

public final class ScriptCheckNameRequest
implements JsonSerializable<ScriptCheckNameRequest>

A script name availability request.

Constructor Summary

Constructor Description
ScriptCheckNameRequest()

Creates an instance of ScriptCheckNameRequest class.

Method Summary

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

Reads an instance of ScriptCheckNameRequest from the JsonReader.

String name()

Get the name property: Script name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of resource, Microsoft.Kusto/clusters/databases/scripts.

void validate()

Validates the instance.

ScriptCheckNameRequest withName(String name)

Set the name property: Script name.

Methods inherited from java.lang.Object

Constructor Details

ScriptCheckNameRequest

public ScriptCheckNameRequest()

Creates an instance of ScriptCheckNameRequest class.

Method Details

fromJson

public static ScriptCheckNameRequest fromJson(JsonReader jsonReader)

Reads an instance of ScriptCheckNameRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Script name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of resource, Microsoft.Kusto/clusters/databases/scripts.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withName

public ScriptCheckNameRequest withName(String name)

Set the name property: Script name.

Parameters:

name - the name value to set.

Returns:

the ScriptCheckNameRequest object itself.

Applies to