DiscardCommitBatchRequest Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. DiscardCommitBatchRequest
- com.
Implements
public final class DiscardCommitBatchRequest
implements JsonSerializable<DiscardCommitBatchRequest>
Discard Commit Batch Request.
Constructor Summary
| Constructor | Description |
|---|---|
| DiscardCommitBatchRequest() |
Creates an instance of Discard |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
commitBatchId()
Get the commit |
|
static
Discard |
fromJson(JsonReader jsonReader)
Reads an instance of Discard |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Discard |
withCommitBatchId(String commitBatchId)
Set the commit |
Methods inherited from java.lang.Object
Constructor Details
DiscardCommitBatchRequest
public DiscardCommitBatchRequest()
Creates an instance of DiscardCommitBatchRequest 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:
fromJson
public static DiscardCommitBatchRequest fromJson(JsonReader jsonReader)
Reads an instance of DiscardCommitBatchRequest from the JsonReader.
Parameters:
Returns:
Throws:
toJson
withCommitBatchId
public DiscardCommitBatchRequest withCommitBatchId(String commitBatchId)
Set the commitBatchId property: Commit Batch Identifier. If not provided, the latest commit batch status will be returned.
Parameters:
Returns: