ApiProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.ApiProfile

Implements

public final class ApiProfile
implements JsonSerializable<ApiProfile>

The ApiProfile model.

Method Summary

Modifier and Type Method and Description
String apiVersion()

Get the apiVersion property: The API version.

static ApiProfile fromJson(JsonReader jsonReader)

Reads an instance of ApiProfile from the JsonReader.

String profileVersion()

Get the profileVersion property: The profile version.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

apiVersion

public String apiVersion()

Get the apiVersion property: The API version.

Returns:

the apiVersion value.

fromJson

public static ApiProfile fromJson(JsonReader jsonReader)

Reads an instance of ApiProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

profileVersion

public String profileVersion()

Get the profileVersion property: The profile version.

Returns:

the profileVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to