Description Class

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

Implements

public final class Description
implements JsonSerializable<Description>

Description related properties of a product system.

Constructor Summary

Constructor Description
Description()

Creates an instance of Description class.

Method Summary

Modifier and Type Method and Description
List<String> attributes()

Get the attributes property: Attributes for the product system.

DescriptionType descriptionType()

Get the descriptionType property: Type of description.

static Description fromJson(JsonReader jsonReader)

Reads an instance of Description from the JsonReader.

List<String> keywords()

Get the keywords property: Keywords for the product system.

List<Link> links()

Get the links property: Links for the product system.

String longDescription()

Get the longDescription property: Long description of the product system.

String shortDescription()

Get the shortDescription property: Short description of the product system.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Description

public Description()

Creates an instance of Description class.

Method Details

attributes

public List<String> attributes()

Get the attributes property: Attributes for the product system.

Returns:

the attributes value.

descriptionType

public DescriptionType descriptionType()

Get the descriptionType property: Type of description.

Returns:

the descriptionType value.

fromJson

public static Description fromJson(JsonReader jsonReader)

Reads an instance of Description from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

keywords

public List<String> keywords()

Get the keywords property: Keywords for the product system.

Returns:

the keywords value.

links

public List<Link> links()

Get the links property: Links for the product system.

Returns:

the links value.

longDescription

public String longDescription()

Get the longDescription property: Long description of the product system.

Returns:

the longDescription value.

shortDescription

public String shortDescription()

Get the shortDescription property: Short description of the product system.

Returns:

the shortDescription value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to