InfoType Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.InfoType

Implements

public final class InfoType
implements JsonSerializable<InfoType>

Custom user-defined information type.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the info type.

static InfoType fromJson(JsonReader jsonReader)

Reads an instance of InfoType from the JsonReader.

String id()

Get the id property: Id of the info type.

String name()

Get the name property: Display name of the info type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

description

public String description()

Get the description property: Description of the info type.

Returns:

the description value.

fromJson

public static InfoType fromJson(JsonReader jsonReader)

Reads an instance of InfoType from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Id of the info type.

Returns:

the id value.

name

public String name()

Get the name property: Display name of the info type.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to