ProjectTaskProperties Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. ProjectTaskProperties
- com.
Implements
public class ProjectTaskProperties
implements JsonSerializable<ProjectTaskProperties>
Base class for all types of DMS (classic) task properties. If task is not supported by current client, this object is returned.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectTaskProperties() |
Creates an instance of Project |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,String> |
clientData()
Get the client |
|
List<Command |
commands()
Get the commands property: Array of command properties. |
|
List<Management |
errors()
Get the errors property: Array of errors. |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
|
Task |
state()
Get the state property: The state of the task. |
|
Task |
taskType()
Get the task |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Project |
withClientData(Map<String,String> clientData)
Set the client |
Methods inherited from java.lang.Object
Constructor Details
ProjectTaskProperties
public ProjectTaskProperties()
Creates an instance of ProjectTaskProperties class.
Method Details
clientData
public Map<String,String> clientData()
Get the clientData property: Key value pairs of client data to attach meta data information to task.
Returns:
commands
public List<CommandPropertiesInner> commands()
Get the commands property: Array of command properties.
Returns:
errors
public List<ManagementError> errors()
Get the errors property: Array of errors. This is ignored if submitted.
Returns:
fromJson
public static ProjectTaskProperties fromJson(JsonReader jsonReader)
Reads an instance of ProjectTaskProperties from the JsonReader.
Parameters:
Returns:
Throws:
state
public TaskState state()
Get the state property: The state of the task. This is ignored if submitted.
Returns:
taskType
public TaskType taskType()
Get the taskType property: Task type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientData
public ProjectTaskProperties withClientData(Map<String,String> clientData)
Set the clientData property: Key value pairs of client data to attach meta data information to task.
Parameters:
Returns: