Share via


FreeTrialProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.playwright.models.FreeTrialProperties

Implements

public final class FreeTrialProperties
implements JsonSerializable<FreeTrialProperties>

Subscription-level location-based Playwright quota free trial properties.

Method Summary

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

Reads an instance of FreeTrialProperties from the JsonReader.

FreeTrialState state()

Get the state property: The free trial state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String workspaceId()

Get the workspaceId property: The workspace ID in GUID format that has free trial enabled in the subscription.

Methods inherited from java.lang.Object

Method Details

fromJson

public static FreeTrialProperties fromJson(JsonReader jsonReader)

Reads an instance of FreeTrialProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FreeTrialProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

state

public FreeTrialState state()

Get the state property: The free trial state.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

workspaceId

public String workspaceId()

Get the workspaceId property: The workspace ID in GUID format that has free trial enabled in the subscription.

Returns:

the workspaceId value.

Applies to