DeviceRwCommand Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. DeviceRwCommand
- com.
Implements
public final class DeviceRwCommand
implements JsonSerializable<DeviceRwCommand>
Provide the Rw command.
Constructor Summary
| Constructor | Description |
|---|---|
| DeviceRwCommand() |
Creates an instance of Device |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
command()
Get the command property: Specify the command. |
| String |
commandUrl()
Get the command |
|
static
Device |
fromJson(JsonReader jsonReader)
Reads an instance of Device |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Device |
withCommand(String command)
Set the command property: Specify the command. |
|
Device |
withCommandUrl(String commandUrl)
Set the command |
Methods inherited from java.lang.Object
Constructor Details
DeviceRwCommand
public DeviceRwCommand()
Creates an instance of DeviceRwCommand class.
Method Details
command
public String command()
Get the command property: Specify the command.
Returns:
commandUrl
public String commandUrl()
Get the commandUrl property: Specify the commands file URL.
Returns:
fromJson
public static DeviceRwCommand fromJson(JsonReader jsonReader)
Reads an instance of DeviceRwCommand from the JsonReader.
Parameters:
Returns:
Throws:
toJson
withCommand
public DeviceRwCommand withCommand(String command)
Set the command property: Specify the command.
Parameters:
Returns:
withCommandUrl
public DeviceRwCommand withCommandUrl(String commandUrl)
Set the commandUrl property: Specify the commands file URL.
Parameters:
Returns: