Share via


MicrosoftGraphDeleted Class

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

Implements

public final class MicrosoftGraphDeleted
implements JsonSerializable<MicrosoftGraphDeleted>

Represents a deleted item.

Constructor Summary

Constructor Description
MicrosoftGraphDeleted()

Creates an instance of MicrosoftGraphDeleted class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: deleted.

static MicrosoftGraphDeleted fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDeleted from the JsonReader.

String state()

Get the state property: Represents the state of the deleted item.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphDeleted withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: deleted.

MicrosoftGraphDeleted withState(String state)

Set the state property: Represents the state of the deleted item.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDeleted

public MicrosoftGraphDeleted()

Creates an instance of MicrosoftGraphDeleted class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: deleted.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphDeleted fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDeleted from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

state

public String state()

Get the state property: Represents the state of the deleted item.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphDeleted withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: deleted.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDeleted object itself.

withState

public MicrosoftGraphDeleted withState(String state)

Set the state property: Represents the state of the deleted item.

Parameters:

state - the state value to set.

Returns:

the MicrosoftGraphDeleted object itself.

Applies to