Partilhar via


EligibleChildResourceInner Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.EligibleChildResourceInner

Implements

public final class EligibleChildResourceInner
implements JsonSerializable<EligibleChildResourceInner>

Eligible child resource.

Constructor Summary

Constructor Description
EligibleChildResourceInner()

Creates an instance of EligibleChildResourceInner class.

Method Summary

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

Reads an instance of EligibleChildResourceInner from the JsonReader.

String id()

Get the id property: The resource scope Id.

String name()

Get the name property: The resource name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

EligibleChildResourceInner

public EligibleChildResourceInner()

Creates an instance of EligibleChildResourceInner class.

Method Details

fromJson

public static EligibleChildResourceInner fromJson(JsonReader jsonReader)

Reads an instance of EligibleChildResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The resource scope Id.

Returns:

the id value.

name

public String name()

Get the name property: The resource name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to