SqlUserDefinedFunctionGetProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.fluent.models.SqlUserDefinedFunctionGetProperties

Implements

public final class SqlUserDefinedFunctionGetProperties
implements JsonSerializable<SqlUserDefinedFunctionGetProperties>

The properties of an Azure Cosmos DB userDefinedFunction.

Constructor Summary

Constructor Description
SqlUserDefinedFunctionGetProperties()

Creates an instance of SqlUserDefinedFunctionGetProperties class.

Method Summary

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

Reads an instance of SqlUserDefinedFunctionGetProperties from the JsonReader.

SqlUserDefinedFunctionGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SqlUserDefinedFunctionGetProperties withResource(SqlUserDefinedFunctionGetPropertiesResource resource)

Set the resource property: The resource property.

Methods inherited from java.lang.Object

Constructor Details

SqlUserDefinedFunctionGetProperties

public SqlUserDefinedFunctionGetProperties()

Creates an instance of SqlUserDefinedFunctionGetProperties class.

Method Details

fromJson

public static SqlUserDefinedFunctionGetProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlUserDefinedFunctionGetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resource

public SqlUserDefinedFunctionGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResource

public SqlUserDefinedFunctionGetProperties withResource(SqlUserDefinedFunctionGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the SqlUserDefinedFunctionGetProperties object itself.

Applies to