DiscardCommitBatchResponseProperties Class

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

Implements

public final class DiscardCommitBatchResponseProperties
implements JsonSerializable<DiscardCommitBatchResponseProperties>

Discard Commit Batch Response Properties.

Method Summary

Modifier and Type Method and Description
String commitBatchId()

Get the commitBatchId property: Commit Batch Identifier.

static DiscardCommitBatchResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of DiscardCommitBatchResponseProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

commitBatchId

public String commitBatchId()

Get the commitBatchId property: Commit Batch Identifier.

Returns:

the commitBatchId value.

fromJson

public static DiscardCommitBatchResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of DiscardCommitBatchResponseProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to