Share via


CommonProperties Class

public class CommonProperties
extends BasicInformation

Represents common properties across product hierarchy.

Constructor Summary

Constructor Description
CommonProperties()

Creates an instance of CommonProperties class.

Method Summary

Modifier and Type Method and Description
AvailabilityInformation availabilityInformation()

Get the availabilityInformation property: Availability information of the product system.

CostInformation costInformation()

Get the costInformation property: Cost information for the product system.

Description description()

Get the description property: Description related to the product system.

String displayName()

Get the displayName property: Display Name for the product system.

List<FilterableProperty> filterableProperties()

Get the filterableProperties property: list of filters supported for a product.

static CommonProperties fromJson(JsonReader jsonReader)

Reads an instance of CommonProperties from the JsonReader.

HierarchyInformation hierarchyInformation()

Get the hierarchyInformation property: Hierarchy information of a product.

List<ImageInformation> imageInformation()

Get the imageInformation property: Image information for the product system.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from BasicInformation

Methods inherited from java.lang.Object

Constructor Details

CommonProperties

public CommonProperties()

Creates an instance of CommonProperties class.

Method Details

availabilityInformation

public AvailabilityInformation availabilityInformation()

Get the availabilityInformation property: Availability information of the product system.

Overrides:

CommonProperties.availabilityInformation()

Returns:

the availabilityInformation value.

costInformation

public CostInformation costInformation()

Get the costInformation property: Cost information for the product system.

Overrides:

CommonProperties.costInformation()

Returns:

the costInformation value.

description

public Description description()

Get the description property: Description related to the product system.

Overrides:

CommonProperties.description()

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: Display Name for the product system.

Overrides:

CommonProperties.displayName()

Returns:

the displayName value.

filterableProperties

public List<FilterableProperty> filterableProperties()

Get the filterableProperties property: list of filters supported for a product.

Returns:

the filterableProperties value.

fromJson

public static CommonProperties fromJson(JsonReader jsonReader)

Reads an instance of CommonProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

hierarchyInformation

public HierarchyInformation hierarchyInformation()

Get the hierarchyInformation property: Hierarchy information of a product.

Overrides:

CommonProperties.hierarchyInformation()

Returns:

the hierarchyInformation value.

imageInformation

public List<ImageInformation> imageInformation()

Get the imageInformation property: Image information for the product system.

Overrides:

CommonProperties.imageInformation()

Returns:

the imageInformation value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CommonProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

CommonProperties.validate()

Applies to