DependencyReference Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.DependencyReference

Implements

public class DependencyReference
implements JsonSerializable<DependencyReference>

Referenced dependency.

Constructor Summary

Constructor Description
DependencyReference()

Creates an instance of DependencyReference class.

Method Summary

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

Reads an instance of DependencyReference from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of dependency reference.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DependencyReference

public DependencyReference()

Creates an instance of DependencyReference class.

Method Details

fromJson

public static DependencyReference fromJson(JsonReader jsonReader)

Reads an instance of DependencyReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of dependency reference.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to