EduEnrollmentPatch Class

  • java.lang.Object
    • com.azure.resourcemanager.programenrollment.models.EduEnrollmentPatch

Implements

public final class EduEnrollmentPatch
implements JsonSerializable<EduEnrollmentPatch>

The type used for update operations of the EduEnrollment.

Constructor Summary

Constructor Description
EduEnrollmentPatch()

Creates an instance of EduEnrollmentPatch class.

Method Summary

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

Reads an instance of EduEnrollmentPatch from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
EduEnrollmentPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

EduEnrollmentPatch

public EduEnrollmentPatch()

Creates an instance of EduEnrollmentPatch class.

Method Details

fromJson

public static EduEnrollmentPatch fromJson(JsonReader jsonReader)

Reads an instance of EduEnrollmentPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withTags

public EduEnrollmentPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the EduEnrollmentPatch object itself.

Applies to