CommandPropertiesInner Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. fluent. models. CommandPropertiesInner
- com.
Implements
public class CommandPropertiesInner
implements JsonSerializable<CommandPropertiesInner>
Base class for all types of DMS (classic) command properties. If command is not supported by current client, this object is returned.
Constructor Summary
| Constructor | Description |
|---|---|
| CommandPropertiesInner() |
Creates an instance of Command |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Command |
commandType()
Get the command |
|
List<Management |
errors()
Get the errors property: Array of errors. |
|
static
Command |
fromJson(JsonReader jsonReader)
Reads an instance of Command |
|
Command |
state()
Get the state property: The state of the command. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
CommandPropertiesInner
public CommandPropertiesInner()
Creates an instance of CommandPropertiesInner class.
Method Details
commandType
public CommandType commandType()
Get the commandType property: Command type.
Returns:
errors
public List<ManagementError> errors()
Get the errors property: Array of errors. This is ignored if submitted.
Returns:
fromJson
public static CommandPropertiesInner fromJson(JsonReader jsonReader)
Reads an instance of CommandPropertiesInner from the JsonReader.
Parameters:
Returns:
Throws:
state
public CommandState state()
Get the state property: The state of the command. This is ignored if submitted.
Returns:
toJson
validate
public void validate()
Validates the instance.