/// <summary>
 /// Initializes a new instance of the ActionPlanTask class.
 /// </summary>
 /// <param name="name">The friendly name of the task</param>
 /// <param name="shortDescription">The short description of the
 /// task</param>
 /// <param name="longDescription">The detailed description of the
 /// task</param>
 /// <param name="imageUrl">The image URL of the task. Suggested
 /// resolution is 200 x 200</param>
 /// <param name="thumbnailImageUrl">The thumbnail image URL of the
 /// task. Suggested resolution is 90 x 90</param>
 /// <param name="taskType">The type of the task, used to choose the UI
 /// editor for the task. Possible values include: 'Unknown',
 /// 'BloodPressure', 'Other'</param>
 /// <param name="trackingPolicy">The tracking policy</param>
 /// <param name="signupName">The text shown during task signup.</param>
 /// <param name="associatedPlanId">The ID of the associated plan. This
 /// is not needed when adding a task as part of a new plan</param>
 /// <param name="associatedObjectiveIds">The list of objective IDs the
 /// task is associated with</param>
 /// <param name="completionType">The Completion Type of the Task.
 /// Possible values include: 'Unknown', 'Frequency',
 /// 'Scheduled'</param>
 /// <param name="frequencyTaskCompletionMetrics">Completion metrics for
 /// frequency based tasks</param>
 /// <param name="scheduledTaskCompletionMetrics">Completion metrics for
 /// schedule based tasks</param>
 public ActionPlanTask(string name = default(string), string shortDescription = default(string), string longDescription = default(string), string imageUrl = default(string), string thumbnailImageUrl = default(string), string taskType = default(string), ActionPlanTrackingPolicy trackingPolicy = default(ActionPlanTrackingPolicy), string signupName = default(string), string associatedPlanId = default(string), IList <string> associatedObjectiveIds = default(IList <string>), string completionType = default(string), ActionPlanFrequencyTaskCompletionMetrics frequencyTaskCompletionMetrics = default(ActionPlanFrequencyTaskCompletionMetrics), ActionPlanScheduledTaskCompletionMetrics scheduledTaskCompletionMetrics = default(ActionPlanScheduledTaskCompletionMetrics))
 {
     Name                           = name;
     ShortDescription               = shortDescription;
     LongDescription                = longDescription;
     ImageUrl                       = imageUrl;
     ThumbnailImageUrl              = thumbnailImageUrl;
     TaskType                       = taskType;
     TrackingPolicy                 = trackingPolicy;
     SignupName                     = signupName;
     AssociatedPlanId               = associatedPlanId;
     AssociatedObjectiveIds         = associatedObjectiveIds;
     CompletionType                 = completionType;
     FrequencyTaskCompletionMetrics = frequencyTaskCompletionMetrics;
     ScheduledTaskCompletionMetrics = scheduledTaskCompletionMetrics;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the ActionPlanTask class.
 /// </summary>
 /// <param name="name">The friendly name of the task</param>
 /// <param name="shortDescription">The short description of the
 /// task</param>
 /// <param name="longDescription">The detailed description of the
 /// task</param>
 /// <param name="imageUrl">The image URL of the task. Suggested
 /// resolution is 200 x 200</param>
 /// <param name="thumbnailImageUrl">The thumbnail image URL of the
 /// task. Suggested resolution is 90 x 90</param>
 /// <param name="taskType">The type of the task, used to choose the UI
 /// editor for the task. Possible values include: 'Unknown',
 /// 'BloodPressure', 'Other'</param>
 /// <param name="trackingPolicy">The tracking policy</param>
 /// <param name="associatedPlanId">The ID of the associated plan. This
 /// is not needed when adding a task as part of a new plan</param>
 /// <param name="associatedObjectiveIds">The list of objective IDs the
 /// task is associated with</param>
 /// <param name="completionType">The Completion Type of the Task.
 /// Possible values include: 'Unknown', 'Frequency',
 /// 'Scheduled'</param>
 /// <param name="taskKey">The task key a provider sets and maintains
 /// for a user's created task</param>
 /// <param name="signupName">The text shown during task signup.</param>
 /// <param name="frequencyTaskCompletionMetrics">Completion metrics for
 /// frequency based tasks</param>
 /// <param name="schedules">Schedules for when a task should be
 /// completed.</param>
 public ActionPlanTask(string name, string shortDescription, string longDescription, string imageUrl, string thumbnailImageUrl, string taskType, ActionPlanTrackingPolicy trackingPolicy, System.Guid associatedPlanId, IList <System.Guid?> associatedObjectiveIds, string completionType, System.Guid?taskKey = default(System.Guid?), string signupName = default(string), ActionPlanFrequencyTaskCompletionMetrics frequencyTaskCompletionMetrics = default(ActionPlanFrequencyTaskCompletionMetrics), IList <Schedule> schedules = default(IList <Schedule>))
 {
     TaskKey                        = taskKey;
     Name                           = name;
     ShortDescription               = shortDescription;
     LongDescription                = longDescription;
     ImageUrl                       = imageUrl;
     ThumbnailImageUrl              = thumbnailImageUrl;
     TaskType                       = taskType;
     TrackingPolicy                 = trackingPolicy;
     SignupName                     = signupName;
     AssociatedPlanId               = associatedPlanId;
     AssociatedObjectiveIds         = associatedObjectiveIds;
     CompletionType                 = completionType;
     FrequencyTaskCompletionMetrics = frequencyTaskCompletionMetrics;
     Schedules                      = schedules;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ActionPlanTaskInstance class.
 /// </summary>
 /// <param name="id">The Id of the task instance</param>
 /// <param name="status">The status of the task. Possible values
 /// include: 'Unknown', 'Archived', 'InProgress', 'Recommended',
 /// 'Completed', 'Template'</param>
 /// <param name="startDate">The date that the task was started.
 /// Read-only</param>
 /// <param name="endDate">The date that the task was ended.
 /// Read-only</param>
 /// <param name="organizationId">The ID of the organization that owns
 /// this task. Read-only</param>
 /// <param name="organizationName">The name of the organization that
 /// owns this task. Read-only</param>
 /// <param name="name">The friendly name of the task</param>
 /// <param name="shortDescription">The short description of the
 /// task</param>
 /// <param name="longDescription">The detailed description of the
 /// task</param>
 /// <param name="imageUrl">The image URL of the task. Suggested
 /// resolution is 200 x 200</param>
 /// <param name="thumbnailImageUrl">The thumbnail image URL of the
 /// task. Suggested resolution is 90 x 90</param>
 /// <param name="taskType">The type of the task, used to choose the UI
 /// editor for the task. Possible values include: 'Unknown',
 /// 'BloodPressure', 'Other'</param>
 /// <param name="trackingPolicy">The tracking policy</param>
 /// <param name="signupName">The text shown during task signup.</param>
 /// <param name="associatedPlanId">The ID of the associated plan. This
 /// is not needed when adding a task as part of a new plan</param>
 /// <param name="associatedObjectiveIds">The list of objective IDs the
 /// task is associated with</param>
 /// <param name="completionType">The Completion Type of the Task.
 /// Possible values include: 'Unknown', 'Frequency',
 /// 'Scheduled'</param>
 /// <param name="frequencyTaskCompletionMetrics">Completion metrics for
 /// frequency based tasks</param>
 /// <param name="scheduledTaskCompletionMetrics">Completion metrics for
 /// schedule based tasks</param>
 public ActionPlanTaskInstance(string id = default(string), string status = default(string), System.DateTime?startDate = default(System.DateTime?), System.DateTime?endDate = default(System.DateTime?), string organizationId = default(string), string organizationName = default(string), string name = default(string), string shortDescription = default(string), string longDescription = default(string), string imageUrl = default(string), string thumbnailImageUrl = default(string), string taskType = default(string), ActionPlanTrackingPolicy trackingPolicy = default(ActionPlanTrackingPolicy), string signupName = default(string), string associatedPlanId = default(string), IList <string> associatedObjectiveIds = default(IList <string>), string completionType = default(string), ActionPlanFrequencyTaskCompletionMetrics frequencyTaskCompletionMetrics = default(ActionPlanFrequencyTaskCompletionMetrics), ActionPlanScheduledTaskCompletionMetrics scheduledTaskCompletionMetrics = default(ActionPlanScheduledTaskCompletionMetrics))
 {
     Id                             = id;
     Status                         = status;
     StartDate                      = startDate;
     EndDate                        = endDate;
     OrganizationId                 = organizationId;
     OrganizationName               = organizationName;
     Name                           = name;
     ShortDescription               = shortDescription;
     LongDescription                = longDescription;
     ImageUrl                       = imageUrl;
     ThumbnailImageUrl              = thumbnailImageUrl;
     TaskType                       = taskType;
     TrackingPolicy                 = trackingPolicy;
     SignupName                     = signupName;
     AssociatedPlanId               = associatedPlanId;
     AssociatedObjectiveIds         = associatedObjectiveIds;
     CompletionType                 = completionType;
     FrequencyTaskCompletionMetrics = frequencyTaskCompletionMetrics;
     ScheduledTaskCompletionMetrics = scheduledTaskCompletionMetrics;
     CustomInit();
 }