Share via


ConfluentListMetadata Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.models.ConfluentListMetadata

Implements

public final class ConfluentListMetadata
implements JsonSerializable<ConfluentListMetadata>

Metadata of the list.

Constructor Summary

Constructor Description
ConfluentListMetadata()

Creates an instance of ConfluentListMetadata class.

Method Summary

Modifier and Type Method and Description
String first()

Get the first property: First page of the list.

static ConfluentListMetadata fromJson(JsonReader jsonReader)

Reads an instance of ConfluentListMetadata from the JsonReader.

String last()

Get the last property: Last page of the list.

String next()

Get the next property: Next page of the list.

String prev()

Get the prev property: Previous page of the list.

JsonWriter toJson(JsonWriter jsonWriter)
Integer totalSize()

Get the totalSize property: Total size of the list.

void validate()

Validates the instance.

ConfluentListMetadata withFirst(String first)

Set the first property: First page of the list.

ConfluentListMetadata withLast(String last)

Set the last property: Last page of the list.

ConfluentListMetadata withNext(String next)

Set the next property: Next page of the list.

ConfluentListMetadata withPrev(String prev)

Set the prev property: Previous page of the list.

ConfluentListMetadata withTotalSize(Integer totalSize)

Set the totalSize property: Total size of the list.

Methods inherited from java.lang.Object

Constructor Details

ConfluentListMetadata

public ConfluentListMetadata()

Creates an instance of ConfluentListMetadata class.

Method Details

first

public String first()

Get the first property: First page of the list.

Returns:

the first value.

fromJson

public static ConfluentListMetadata fromJson(JsonReader jsonReader)

Reads an instance of ConfluentListMetadata from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

last

public String last()

Get the last property: Last page of the list.

Returns:

the last value.

next

public String next()

Get the next property: Next page of the list.

Returns:

the next value.

prev

public String prev()

Get the prev property: Previous page of the list.

Returns:

the prev value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalSize

public Integer totalSize()

Get the totalSize property: Total size of the list.

Returns:

the totalSize value.

validate

public void validate()

Validates the instance.

withFirst

public ConfluentListMetadata withFirst(String first)

Set the first property: First page of the list.

Parameters:

first - the first value to set.

Returns:

the ConfluentListMetadata object itself.

withLast

public ConfluentListMetadata withLast(String last)

Set the last property: Last page of the list.

Parameters:

last - the last value to set.

Returns:

the ConfluentListMetadata object itself.

withNext

public ConfluentListMetadata withNext(String next)

Set the next property: Next page of the list.

Parameters:

next - the next value to set.

Returns:

the ConfluentListMetadata object itself.

withPrev

public ConfluentListMetadata withPrev(String prev)

Set the prev property: Previous page of the list.

Parameters:

prev - the prev value to set.

Returns:

the ConfluentListMetadata object itself.

withTotalSize

public ConfluentListMetadata withTotalSize(Integer totalSize)

Set the totalSize property: Total size of the list.

Parameters:

totalSize - the totalSize value to set.

Returns:

the ConfluentListMetadata object itself.

Applies to