DevCenterCatalog Class

  • java.lang.Object
    • com.azure.developer.devcenter.models.DevCenterCatalog

Implements

public final class DevCenterCatalog
implements JsonSerializable<DevCenterCatalog>

A catalog.

Method Summary

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

Reads an instance of DevCenterCatalog from the JsonReader.

String getName()

Get the name property: Name of the catalog.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static DevCenterCatalog fromJson(JsonReader jsonReader)

Reads an instance of DevCenterCatalog from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getName

public String getName()

Get the name property: Name of the catalog.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to