Summary Class

  • java.lang.Object
    • com.azure.resourcemanager.resourcemover.models.Summary

Implements

public final class Summary
implements JsonSerializable<Summary>

Summary item.

Constructor Summary

Constructor Description
Summary()

Creates an instance of Summary class.

Method Summary

Modifier and Type Method and Description
Integer count()

Get the count property: Gets the count.

static Summary fromJson(JsonReader jsonReader)

Reads an instance of Summary from the JsonReader.

String item()

Get the item property: Gets the item.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Summary withCount(Integer count)

Set the count property: Gets the count.

Summary withItem(String item)

Set the item property: Gets the item.

Methods inherited from java.lang.Object

Constructor Details

Summary

public Summary()

Creates an instance of Summary class.

Method Details

count

public Integer count()

Get the count property: Gets the count.

Returns:

the count value.

fromJson

public static Summary fromJson(JsonReader jsonReader)

Reads an instance of Summary from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

item

public String item()

Get the item property: Gets the item.

Returns:

the item value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCount

public Summary withCount(Integer count)

Set the count property: Gets the count.

Parameters:

count - the count value to set.

Returns:

the Summary object itself.

withItem

public Summary withItem(String item)

Set the item property: Gets the item.

Parameters:

item - the item value to set.

Returns:

the Summary object itself.

Applies to