Share via


TaskModel Class

Definition

Task model.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.TaskModelTypeConverter))]
public class TaskModel : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ITaskModel
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.TaskModelTypeConverter))>]
type TaskModel = class
    interface ITaskModel
    interface IJsonSerializable
Public Class TaskModel
Implements ITaskModel
Inheritance
TaskModel
Attributes
Implements

Constructors

TaskModel()

Creates an new TaskModel instance.

Properties

ChildrenWorkflow

Gets or sets the list of children workflow models.

CustomProperty

Task model custom properties.

EndTime

Gets or sets the end time.

StartTime

Gets or sets the start time.

State

Gets or sets the task state.

TaskName

Gets or sets the task name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TaskModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TaskModel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ITaskModel.

FromJsonString(String)

Creates a new instance of TaskModel, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TaskModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to