AgentPoolQueueStatusInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.AgentPoolQueueStatusInner

Implements

public final class AgentPoolQueueStatusInner
implements JsonSerializable<AgentPoolQueueStatusInner>

The QueueStatus of Agent Pool.

Constructor Summary

Constructor Description
AgentPoolQueueStatusInner()

Creates an instance of AgentPoolQueueStatusInner class.

Method Summary

Modifier and Type Method and Description
Integer count()

Get the count property: The number of pending runs in the queue.

static AgentPoolQueueStatusInner fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolQueueStatusInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AgentPoolQueueStatusInner withCount(Integer count)

Set the count property: The number of pending runs in the queue.

Methods inherited from java.lang.Object

Constructor Details

AgentPoolQueueStatusInner

public AgentPoolQueueStatusInner()

Creates an instance of AgentPoolQueueStatusInner class.

Method Details

count

public Integer count()

Get the count property: The number of pending runs in the queue.

Returns:

the count value.

fromJson

public static AgentPoolQueueStatusInner fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolQueueStatusInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCount

public AgentPoolQueueStatusInner withCount(Integer count)

Set the count property: The number of pending runs in the queue.

Parameters:

count - the count value to set.

Returns:

the AgentPoolQueueStatusInner object itself.

Applies to