Link Class

  • java.lang.Object
    • com.azure.resourcemanager.edgeorder.models.Link

Implements

public final class Link
implements JsonSerializable<Link>

Returns link related to the product.

Constructor Summary

Constructor Description
Link()

Creates an instance of Link class.

Method Summary

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

Reads an instance of Link from the JsonReader.

LinkType linkType()

Get the linkType property: Type of link.

String linkUrl()

Get the linkUrl property: Url of the link.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

public Link()

Creates an instance of Link class.

Method Details

public static Link fromJson(JsonReader jsonReader)

Reads an instance of Link from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

public LinkType linkType()

Get the linkType property: Type of link.

Returns:

the linkType value.

public String linkUrl()

Get the linkUrl property: Url of the link.

Returns:

the linkUrl value.

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

public void validate()

Validates the instance.

Applies to