次の方法で共有


ApiProfile Class

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

Implements

public final class ApiProfile
implements JsonSerializable<ApiProfile>

The ApiProfile model.

Constructor Summary

Constructor Description
ApiProfile()

Creates an instance of ApiProfile class.

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)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ApiProfile

public ApiProfile()

Creates an instance of ApiProfile class.

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:

validate

public void validate()

Validates the instance.

Applies to