ListQueueInner Class

public final class ListQueueInner
extends ProxyResource

The ListQueue model.

Constructor Summary

Constructor Description
ListQueueInner()

Creates an instance of ListQueueInner class.

Method Summary

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

Reads an instance of ListQueueInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Map<String,String> metadata()

Get the metadata property: A name-value pair that represents queue metadata.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ListQueueInner withMetadata(Map<String,String> metadata)

Set the metadata property: A name-value pair that represents queue metadata.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ListQueueInner

public ListQueueInner()

Creates an instance of ListQueueInner class.

Method Details

fromJson

public static ListQueueInner fromJson(JsonReader jsonReader)

Reads an instance of ListQueueInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ListQueueInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ListQueueInner.id()

Returns:

the id value.

metadata

public Map metadata()

Get the metadata property: A name-value pair that represents queue metadata.

Returns:

the metadata value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ListQueueInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ListQueueInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ListQueueInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withMetadata

public ListQueueInner withMetadata(Map metadata)

Set the metadata property: A name-value pair that represents queue metadata.

Parameters:

metadata - the metadata value to set.

Returns:

the ListQueueInner object itself.

Applies to