-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add implementation of DT Apis (#14671)
- Loading branch information
Showing
5 changed files
with
406 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...twins-core/src/main/java/com/azure/digitaltwins/core/DeleteDigitalTwinRequestOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
package com.azure.digitaltwins.core; | ||
|
||
/** | ||
* Optional settings that are specific to calls to {@link DigitalTwinsClient#deleteDigitalTwin(String)} and its overloads. | ||
*/ | ||
public class DeleteDigitalTwinRequestOptions extends RequestOptions { | ||
// This class exists to be added to later if the deleteDigitalTwin APIs get a new optional parameter in later service | ||
// API versions and so that we don't have to expose that new optional parameter for other APIs using RequestOptions | ||
|
||
@Override | ||
public DeleteDigitalTwinRequestOptions setIfMatch(String ifMatch) { | ||
super.setIfMatch(ifMatch); | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.