CommitBatchStatusRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.managednetworkfabric.models.CommitBatchStatusRequest

Implements

public final class CommitBatchStatusRequest
implements JsonSerializable<CommitBatchStatusRequest>

Commit Batch Status Request.

Constructor Summary

Constructor Description
CommitBatchStatusRequest()

Creates an instance of CommitBatchStatusRequest class.

Method Summary

Modifier and Type Method and Description
String commitBatchId()

Get the commitBatchId property: Commit Batch Identifier.

static CommitBatchStatusRequest fromJson(JsonReader jsonReader)

Reads an instance of CommitBatchStatusRequest from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
CommitBatchStatusRequest withCommitBatchId(String commitBatchId)

Set the commitBatchId property: Commit Batch Identifier.

Methods inherited from java.lang.Object

Constructor Details

CommitBatchStatusRequest

public CommitBatchStatusRequest()

Creates an instance of CommitBatchStatusRequest class.

Method Details

commitBatchId

public String commitBatchId()

Get the commitBatchId property: Commit Batch Identifier. If not provided, the latest commit batch status will be returned.

Returns:

the commitBatchId value.

fromJson

public static CommitBatchStatusRequest fromJson(JsonReader jsonReader)

Reads an instance of CommitBatchStatusRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withCommitBatchId

public CommitBatchStatusRequest withCommitBatchId(String commitBatchId)

Set the commitBatchId property: Commit Batch Identifier. If not provided, the latest commit batch status will be returned.

Parameters:

commitBatchId - the commitBatchId value to set.

Returns:

the CommitBatchStatusRequest object itself.

Applies to