ApiPortalInstance Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ApiPortalInstance

Implements

public final class ApiPortalInstance
implements JsonSerializable<ApiPortalInstance>

Collection of instances belong to the API portal.

Constructor Summary

Constructor Description
ApiPortalInstance()

Creates an instance of ApiPortalInstance class.

Method Summary

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

Reads an instance of ApiPortalInstance from the JsonReader.

String name()

Get the name property: Name of the API portal instance.

String status()

Get the status property: Status of the API portal instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ApiPortalInstance

public ApiPortalInstance()

Creates an instance of ApiPortalInstance class.

Method Details

fromJson

public static ApiPortalInstance fromJson(JsonReader jsonReader)

Reads an instance of ApiPortalInstance from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the API portal instance.

Returns:

the name value.

status

public String status()

Get the status property: Status of the API portal instance.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to