Share via


LabServicesSkuCapabilities Class

  • java.lang.Object
    • com.azure.resourcemanager.labservices.models.LabServicesSkuCapabilities

Implements

public final class LabServicesSkuCapabilities
implements JsonSerializable<LabServicesSkuCapabilities>

The array of capabilities of a lab services SKU.

Constructor Summary

Constructor Description
LabServicesSkuCapabilities()

Creates an instance of LabServicesSkuCapabilities class.

Method Summary

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

Reads an instance of LabServicesSkuCapabilities from the JsonReader.

String name()

Get the name property: The name of the capability for a SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The value of the capability for a SKU.

Methods inherited from java.lang.Object

Constructor Details

LabServicesSkuCapabilities

public LabServicesSkuCapabilities()

Creates an instance of LabServicesSkuCapabilities class.

Method Details

fromJson

public static LabServicesSkuCapabilities fromJson(JsonReader jsonReader)

Reads an instance of LabServicesSkuCapabilities from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the capability for a SKU.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The value of the capability for a SKU.

Returns:

the value value.

Applies to